diff options
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r-- | src/fe-text/gui-readline.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 956f7a52..32ae7abe 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -280,7 +280,7 @@ static void key_forward_to_space(void) static void key_erase_line(void) { gui_entry_set_pos(active_entry, active_entry->text_len); - gui_entry_erase(active_entry, active_entry->text_len); + gui_entry_erase(active_entry, active_entry->text_len, TRUE); } static void key_erase_to_beg_of_line(void) @@ -288,7 +288,7 @@ static void key_erase_to_beg_of_line(void) int pos; pos = gui_entry_get_pos(active_entry); - gui_entry_erase(active_entry, pos); + gui_entry_erase(active_entry, pos, TRUE); } static void key_erase_to_end_of_line(void) @@ -297,7 +297,7 @@ static void key_erase_to_end_of_line(void) pos = gui_entry_get_pos(active_entry); gui_entry_set_pos(active_entry, active_entry->text_len); - gui_entry_erase(active_entry, active_entry->text_len - pos); + gui_entry_erase(active_entry, active_entry->text_len - pos, TRUE); } static void key_yank_from_cutbuffer(void) @@ -318,13 +318,13 @@ 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); + gui_entry_erase(active_entry, 1, FALSE); } } static void key_backspace(void) { - gui_entry_erase(active_entry, 1); + gui_entry_erase(active_entry, 1, FALSE); } static void key_delete_previous_word(void) |