mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
Delete key works again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@179 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
be0ccafd36
commit
79dbc156b6
@ -158,6 +158,14 @@ void handle_key(gint key)
|
||||
gui_entry_erase(1);
|
||||
break;
|
||||
|
||||
case KEY_DC:
|
||||
if (gui_entry_get_pos() < strlen(gui_entry_get_text()))
|
||||
{
|
||||
gui_entry_move_pos(1);
|
||||
gui_entry_erase(1);
|
||||
}
|
||||
break;
|
||||
|
||||
case 0:
|
||||
/* Ctrl-space - ignore */
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user