[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs tty.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs tty.c |
Date: |
Mon, 17 Aug 2015 18:13:50 +0000 |
CVSROOT: /sources/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 15/08/17 18:13:50
Modified files:
. : tty.c
Log message:
tty: rearrange code
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/tty.c?cvsroot=qemacs&r1=1.66&r2=1.67
Patches:
Index: tty.c
===================================================================
RCS file: /sources/qemacs/qemacs/tty.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- tty.c 14 Aug 2015 15:56:28 -0000 1.66
+++ tty.c 17 Aug 2015 18:13:50 -0000 1.67
@@ -496,12 +496,6 @@
}
break;
/* All these for ansi|cygwin */
- case 'F': ch = KEY_END; goto the_end; // kend
- //case 'G': ch = KEY_CENTER; goto the_end; // kb2
- case 'H': ch = KEY_HOME; goto the_end; // khome
- case 'L': ch = KEY_INSERT; goto the_end; // kich1
- //case 'M': ch = KEY_MOUSE; goto the_end; // kmous
- case 'Z': ch = KEY_SHIFT_TAB; goto the_end; // kcbt
default:
if (ts->input_param == 5) {
/* xterm CTRL-arrows */
@@ -536,6 +530,12 @@
case 'B': ch = KEY_DOWN; goto the_end; // kcud1
case 'C': ch = KEY_RIGHT; goto the_end; // kcuf1
case 'D': ch = KEY_LEFT; goto the_end; // kcub1
+ case 'F': ch = KEY_END; goto the_end; // kend
+ //case 'G': ch = KEY_CENTER; goto the_end; // kb2
+ case 'H': ch = KEY_HOME; goto the_end; // khome
+ case 'L': ch = KEY_INSERT; goto the_end; // kich1
+ //case 'M': ch = KEY_MOUSE; goto the_end; // kmous
+ case 'Z': ch = KEY_SHIFT_TAB; goto the_end; // kcbt
}
}
break;