summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-key.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index d9589a498..92393ac9a 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -588,6 +588,9 @@ gui_key_read_cb (void *data, int fd)
/* remove final newline (if needed) */
gui_key_paste_remove_newline ();
+ /* replace tabs by spaces */
+ gui_key_paste_replace_tabs ();
+
/* stop bracketed mode */
gui_key_paste_bracketed_timer_remove ();
gui_key_paste_bracketed_stop ();