HOTFIX: report up arrow correctly

This commit is contained in:
Aram Drevekenin 2022-08-18 00:58:29 +02:00
parent ac8a9d4b28
commit 94669fc930

View file

@ -60,7 +60,7 @@ impl AnsiEncoding {
match self {
Self::Left => "OD".as_bytes(),
Self::Right => "OC".as_bytes(),
Self::Up => "OC".as_bytes(),
Self::Up => "OA".as_bytes(),
Self::Down => "OB".as_bytes(),
Self::Home => &[27, 79, 72], // ESC O H
Self::End => &[27, 79, 70], // ESC O F