summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 20:13:44 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 20:13:44 +0800
commit16dfdf20bdcc4cb009c3623a86f4b039ffb7e468 (patch)
tree202c36360f59dc39b919c8b10f234046e80aae68 /include
parentb8b8c55600841d87c464f5877559351a970cd965 (diff)
downloadpttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar.gz
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar.bz2
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar.lz
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar.xz
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.tar.zst
pttbbs-16dfdf20bdcc4cb009c3623a86f4b039ffb7e468.zip
New VT100/220 Escape Sequence Parser,
supporting F1~F12 and S-TAB. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 5a29ca70..efc68352 100644
--- a/include/common.h
+++ b/include/common.h
@@ -135,12 +135,25 @@ ANSI_COLOR(34;46) " ÂE¶­©¹ªð " ANSI_COLOR(31;47) "(R)" ANSI_COLOR(30) "¦^«H" ANS
#define KEY_DOWN 0x0102
#define KEY_RIGHT 0x0103
#define KEY_LEFT 0x0104
+#define KEY_STAB 0x0105 /* shift-tab */
#define KEY_HOME 0x0201
#define KEY_INS 0x0202
#define KEY_DEL 0x0203
#define KEY_END 0x0204
#define KEY_PGUP 0x0205
#define KEY_PGDN 0x0206
+#define KEY_F1 0x0301
+#define KEY_F2 0x0302
+#define KEY_F3 0x0303
+#define KEY_F4 0x0304
+#define KEY_F5 0x0305
+#define KEY_F6 0x0306
+#define KEY_F7 0x0307
+#define KEY_F8 0x0308
+#define KEY_F9 0x0309
+#define KEY_F10 0x030A
+#define KEY_F11 0x030B
+#define KEY_F12 0x030C
#define QCAST int (*)(const void *, const void *)
#define Ctrl(c) (c & 037)