X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=src%2Flib%2Fcmdline_vt100.h;h=74090b56920f6b12909951758c33cf9d2068f74a;hb=12df0462d324d6aaced9491955628c46b9ea853c;hp=14ca5f82d531070c56f7c4cf1f44caed2292c921;hpb=289e62983cdc8579a78be38f6b30545fe5a9f0bf;p=libcmdline.git diff --git a/src/lib/cmdline_vt100.h b/src/lib/cmdline_vt100.h index 14ca5f8..74090b5 100644 --- a/src/lib/cmdline_vt100.h +++ b/src/lib/cmdline_vt100.h @@ -84,7 +84,6 @@ #define vt100_word_left "\033\142" #define vt100_word_right "\033\146" - /* Result of parsing : it must be synchronized with * cmdline_vt100_commands[] in vt100.c */ #define CMDLINE_KEY_UP_ARR 0 @@ -109,13 +108,14 @@ #define CMDLINE_KEY_WLEFT 19 #define CMDLINE_KEY_WRIGHT 20 #define CMDLINE_KEY_HELP 21 +#define CMDLINE_KEY_CTRL_W 22 extern const char *cmdline_vt100_commands[]; enum cmdline_vt100_parser_state { CMDLINE_VT100_INIT, CMDLINE_VT100_ESCAPE, - CMDLINE_VT100_ESCAPE_CSI, + CMDLINE_VT100_ESCAPE_CSI }; #define CMDLINE_VT100_BUF_SIZE 8