From e0d2f8bb52f4ed9902d0cba8ee4c5aa783229ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 21 Feb 2006 21:46:18 +0000 Subject: [PATCH] couldn't type 1 byte characters which need option key, I don't know what it was meant to git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16496 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermView.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index e193cc2435..3c9dbad823 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -1343,13 +1343,7 @@ TermView::KeyDown(const char *bytes, int32 numBytes) // Terminal changes RET, ENTER, F1...F12, and ARROW key code. if (numBytes == 1) { - if (mod & B_OPTION_KEY) { - c = *bytes; - c |= 0x80; - write(pfd, &c, 1); - return; - } - + switch (*bytes) { case B_RETURN: c = 0x0d;