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
This commit is contained in:
parent
9fe40077e9
commit
e0d2f8bb52
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user