Ctrl-W deletes word in left - patch from

Kjetil �degaard <kjetilod@orakel.ntnu.no>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@341 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-14 18:02:13 +00:00 committed by cras
commit 72b32ff175
3 changed files with 31 additions and 0 deletions

View file

@ -208,6 +208,11 @@ void handle_key(int key)
gui_entry_erase(1);
break;
case 23:
/* C-w - erase word to the left of marker */
gui_entry_erase_word();
break;
case 4:
case KEY_DC:
if (gui_entry_get_pos() < strlen(gui_entry_get_text())) {