Merge pull request #233 from lj3954/fix_backspace

fix: Use proper backspace character in PTY
This commit is contained in:
Chris Titus 2024-09-04 22:08:45 -05:00 committed by GitHub
commit 4e4e979acf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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