mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
fix: Send correct ASCII DEL character to PTY, rather than ASCII BS
This commit is contained in:
parent
5c37969ab9
commit
82f965e1a2
|
@ -270,7 +270,7 @@ impl RunningCommand {
|
||||||
send
|
send
|
||||||
}
|
}
|
||||||
KeyCode::Enter => vec![b'\n'],
|
KeyCode::Enter => vec![b'\n'],
|
||||||
KeyCode::Backspace => vec![8],
|
KeyCode::Backspace => vec![0x7f],
|
||||||
KeyCode::Left => vec![27, 91, 68],
|
KeyCode::Left => vec![27, 91, 68],
|
||||||
KeyCode::Right => vec![27, 91, 67],
|
KeyCode::Right => vec![27, 91, 67],
|
||||||
KeyCode::Up => vec![27, 91, 65],
|
KeyCode::Up => vec![27, 91, 65],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user