summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index 9dcb2c227..0cefcdf5c 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -321,6 +321,7 @@ gui_key_flush (int paste)
}
else if (key == 127)
{
+ insert_ok = 0;
key_str[0] = '\x01';
key_str[1] = '?';
key_str[2] = '\0';