mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +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