mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-22 11:22:59 +03:00
Merge pull request #378 from kinode-dao/dr/add-delete
add delete key to terminal
This commit is contained in:
commit
29e40f26d6
@ -521,7 +521,7 @@ pub async fn terminal(
|
||||
cursor::MoveTo(cursor_col, win_rows),
|
||||
)?;
|
||||
},
|
||||
KeyCode::Backspace => {
|
||||
KeyCode::Backspace | KeyCode::Delete => {
|
||||
if line_col == prompt_len {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user