diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-03-24 13:22:41 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-03-24 13:22:41 +0100 |
commit | b867c69477cf292d6cc88abe8741be475adc5120 (patch) | |
tree | 8c2e4f13abc6311ae9bc9a501d174a24b6651476 /src/gui/curses/gui-curses-key.c | |
parent | b7d75cf45518cb497bf5450ad40eee9dc961c345 (diff) | |
download | weechat-b867c69477cf292d6cc88abe8741be475adc5120.zip |
core: convert tabs to spaces in text pasted (bug #25028)
Diffstat (limited to 'src/gui/curses/gui-curses-key.c')
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 3 |
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 (); |