summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/gui-readline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 93bd1095..61c8ddc5 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -402,7 +402,6 @@ static int check_pasting(unichar key, int diff)
g_array_set_size(paste_buffer, 0);
if (prev_key != '\r' && prev_key != '\n') {
paste_keycount++;
- g_array_append_val(paste_buffer, prev_key);
}
} else if (paste_state > 0 && diff > paste_detect_time &&
paste_line_count == 0) {