diff options
author | dequis <dx@dxzone.com.ar> | 2015-12-12 01:17:48 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-12-12 01:19:36 -0300 |
commit | 38d372eccb3745a7734b8f8963ae572d1343c5b1 (patch) | |
tree | 6528a2f20f980207eba2f94cdb7e65f32c66b6e1 /src | |
parent | 8c98e07eab423ad7926d8e4fa742b60117652eb1 (diff) | |
download | irssi-38d372eccb3745a7734b8f8963ae572d1343c5b1.zip |
Disable timeout-based paste detection if paste_use_bracketed_mode is on
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 96b8b386..a9755318 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -737,7 +737,7 @@ static void sig_input(void) if (paste_bracketed_mode) { paste_bracketed_middle(); - } else if (paste_detect_time > 0 && paste_buffer->len >= 3) { + } else if (!paste_use_bracketed_mode && paste_detect_time > 0 && paste_buffer->len >= 3) { if (paste_timeout_id != -1) g_source_remove(paste_timeout_id); paste_timeout_id = g_timeout_add(paste_detect_time, paste_timeout, NULL); |