mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Add function to delete the whole cell under the cursor and use it for
delete_character. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4521 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ceea629e3e
commit
8a9da9cf2d
3 changed files with 21 additions and 2 deletions
|
|
@ -697,8 +697,7 @@ static void key_upcase_word(void)
|
|||
static void key_delete_character(void)
|
||||
{
|
||||
if (gui_entry_get_pos(active_entry) < active_entry->text_len) {
|
||||
gui_entry_move_pos(active_entry, 1);
|
||||
gui_entry_erase(active_entry, 1, FALSE);
|
||||
gui_entry_erase_cell(active_entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue