From 72b32ff1755c9223294d6069fa00eaa039563e64 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 14 Jun 2000 18:02:13 +0000 Subject: =?UTF-8?q?Ctrl-W=20deletes=20word=20in=20left=20-=20patch=20from?= =?UTF-8?q?=20Kjetil=20=EF=BF=BDdegaard=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.irssi.org/repos/irssi/trunk@341 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/gui-readline.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/fe-text/gui-readline.c') diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 8aa7b0a7..b68ec01e 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -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())) { -- cgit v1.2.3