mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Terminal: Oops, escape sequences for the left and right keys were swapped.
This commit is contained in:
parent
56b6fb198a
commit
2c6a3f1907
Notes:
sideshowbarker
2024-07-19 15:54:50 +09:00
Author: https://github.com/awesomekling
Commit: 2c6a3f1907
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue