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:
@@ -1343,13 +1343,7 @@ TermView::KeyDown(const char *bytes, int32 numBytes)
|
|||||||
// Terminal changes RET, ENTER, F1...F12, and ARROW key code.
|
// Terminal changes RET, ENTER, F1...F12, and ARROW key code.
|
||||||
|
|
||||||
if (numBytes == 1) {
|
if (numBytes == 1) {
|
||||||
if (mod & B_OPTION_KEY) {
|
|
||||||
c = *bytes;
|
|
||||||
c |= 0x80;
|
|
||||||
write(pfd, &c, 1);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (*bytes) {
|
switch (*bytes) {
|
||||||
case B_RETURN:
|
case B_RETURN:
|
||||||
c = 0x0d;
|
c = 0x0d;
|
||||||
|
|||||||
Reference in New Issue
Block a user