mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Merge pull request #233 from lj3954/fix_backspace
fix: Use proper backspace character in PTY
This commit is contained in:
commit
4e4e979acf
|
@ -270,7 +270,7 @@ impl RunningCommand {
|
|||
send
|
||||
}
|
||||
KeyCode::Enter => vec![b'\n'],
|
||||
KeyCode::Backspace => vec![8],
|
||||
KeyCode::Backspace => vec![0x7f],
|
||||
KeyCode::Left => vec![27, 91, 68],
|
||||
KeyCode::Right => vec![27, 91, 67],
|
||||
KeyCode::Up => vec![27, 91, 65],
|
||||
|
|
Loading…
Reference in New Issue
Block a user