fix: Send correct ASCII DEL character to PTY, rather than ASCII BS

This commit is contained in:
Liam 2024-09-04 19:09:02 -07:00
parent 5c37969ab9
commit 82f965e1a2
No known key found for this signature in database

View File

@ -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],