<table><tr><td style="">sandsmark added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11859">View Revision</a></tr></table><br /><div><div><p>this was the patch I was about to upload before I saw this, I think this makes more sense:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="diff" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #000080">diff --git src/TerminalDisplay.cpp src/TerminalDisplay.cpp</span>
<span style="color: #000080">index 0caa3997..98ba493a 100644</span>
<span style="color: #a00000">--- src/TerminalDisplay.cpp</span>
<span style="color: #00a000">+++ src/TerminalDisplay.cpp</span>
<span style="color: #800080">@@ -3187,6 +3187,7 @@ void TerminalDisplay::doPaste(QString text, bool appendReturn)</span>
if (!text.isEmpty()) {
text.replace(QLatin1Char('\n'), QLatin1Char('\r'));
if (bracketedPasteMode()) {
<span style="color: #00a000">+ text.remove(QLatin1String("\033"));</span>
text.prepend(QLatin1String("\033[200~"));
text.append(QLatin1String("\033[201~"));
}</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11859">https://phabricator.kde.org/D11859</a></div></div><br /><div><strong>To: </strong>michalhumpula, Konsole<br /><strong>Cc: </strong>sandsmark, mglb, hindenburg, herrold, ngraham<br /></div>