1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

Terminal: Oops, escape sequences for the left and right keys were swapped.

This commit is contained in:
Andreas Kling 2019-01-30 21:20:44 +01:00
parent 56b6fb198a
commit 2c6a3f1907

View file

@ -136,10 +136,10 @@ int main(int, char**)
case KeyCode::Key_Down: case KeyCode::Key_Down:
write(ptm_fd, "\033[B", 3); write(ptm_fd, "\033[B", 3);
break; break;
case KeyCode::Key_Left: case KeyCode::Key_Right:
write(ptm_fd, "\033[C", 3); write(ptm_fd, "\033[C", 3);
break; break;
case KeyCode::Key_Right: case KeyCode::Key_Left:
write(ptm_fd, "\033[D", 3); write(ptm_fd, "\033[D", 3);
break; break;
default: default: