summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-input.c b/src/gui/curses/gui-input.c
index 118ae9f50..90ffc97be 100644
--- a/src/gui/curses/gui-input.c
+++ b/src/gui/curses/gui-input.c
@@ -256,6 +256,9 @@ gui_input_read ()
if ((gui_key_pressed (key_str) != 0) && (insert_ok))
{
+ if (strcmp (key_str, "^^") == 0)
+ key_str[1] = '\0';
+
if (gui_current_window->buffer->dcc)
gui_input_action_dcc (gui_current_window, key_str);
else