break;
case CMDLINE_KEY_META_BKSPACE:
+ case CMDLINE_KEY_CTRL_W:
while (! CIRBUF_IS_EMPTY(&rdl->left) && isblank2(cirbuf_get_tail(&rdl->left))) {
rdline_puts(rdl, vt100_bs);
cirbuf_del_tail(&rdl->left);
#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[];