From 2c6a3f1907aa63a459f50dfb872f6163b5305296 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 30 Jan 2019 21:20:44 +0100 Subject: [PATCH] Terminal: Oops, escape sequences for the left and right keys were swapped. --- Terminal/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terminal/main.cpp b/Terminal/main.cpp index 2fee6aaa4c..f6f2a47830 100644 --- a/Terminal/main.cpp +++ b/Terminal/main.cpp @@ -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: