mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
terminal: fix: add delete key to backspace behavior
This commit is contained in:
parent
553ad00d51
commit
c8f2de8351
@ -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