summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r--src/fe-text/gui-readline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 06f61e4b..78ebd351 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -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);
}
}