cmdline (merge-intel): support ctrl-w in librte_cmdline
[libcmdline.git] / src / lib / cmdline_vt100.h
index 612d12b..74090b5 100644 (file)
@@ -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
 #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[];