diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -3173,6 +3173,7 @@ if (!text.isEmpty()) { text.replace(QLatin1Char('\n'), QLatin1Char('\r')); if (bracketedPasteMode()) { + text.remove(QLatin1String("\033[201~")); text.prepend(QLatin1String("\033[200~")); text.append(QLatin1String("\033[201~")); }