mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
Terminal: Oops, escape sequences for the left and right keys were swapped.
This commit is contained in:
parent
56b6fb198a
commit
2c6a3f1907
1 changed files with 2 additions and 2 deletions
|
@ -136,10 +136,10 @@ int main(int, char**)
|
|||
case KeyCode::Key_Down:
|
||||
write(ptm_fd, "\033[B", 3);
|
||||
break;
|
||||
case KeyCode::Key_Left:
|
||||
case KeyCode::Key_Right:
|
||||
write(ptm_fd, "\033[C", 3);
|
||||
break;
|
||||
case KeyCode::Key_Right:
|
||||
case KeyCode::Key_Left:
|
||||
write(ptm_fd, "\033[D", 3);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue