<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added a reviewer: Konsole.<br />Restricted Application added a project: Konsole.<br />Restricted Application added a subscriber: konsole-devel.<br />ahmadsamir requested review of this revision.
</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/D13356">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Make it possible to extend the selection when selecting text in<br />
column/block mode, by holding down Alt+Ctrl+Shift.</p>

<p>Commit <a href="https://phabricator.kde.org/R319:e5b7480966f3121f4e1042648e29a74b9c29b2e9" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">e5b7480966f3121f4e1042648e29a74b9c29b2e9</a> disabled text selection<br />
in apps running on the Alternate screen buffer, when they tell the<br />
terminal they're interested in Mouse Tracking events, unless only the Shift<br />
key is pressed; this accidentally prevented block selection mode from<br />
working in that case. Tweak the condition, to also allow block selection<br />
mode to work when Shift is pressed. Note that the selection can't be<br />
extended in programs while Mouse Tracking events are enabled.</p>

<p>BUG: 331034<br />
FIXED-IN: 18.08</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Open a new tab and <tt style="background: #ebebeb; font-size: 13px;">cat</tt> some file to have some text on the screen: a - Select text with no modifier keys pressed b - Select some text, press and hold Shift and extend the selection c - Press and hold Alt+Ctrl, to select text in block mode, and while still pressing Alt+Ctrl, press Shift and extend the selection in block mode</li>
</ul>

<ul class="remarkup-list">
<li class="remarkup-list-item">Open some file in vim, with normal mode <tt style="background: #ebebeb; font-size: 13px;">:set mouse=</tt>, and repeat a, b, c</li>
<li class="remarkup-list-item">Switch to visual mode in vim <tt style="background: #ebebeb; font-size: 13px;">:set mouse=a</tt>:<ul class="remarkup-list">
<li class="remarkup-list-item">Hold down Shift and select text</li>
<li class="remarkup-list-item">Hold down Shift+Alt+Ctrl and select text in column mode</li>
<li class="remarkup-list-item">Note that extending the selection doesn't work in vim visual mode (i.e. after the app indicates it's interested in Mouse Tracking events)</li>
</ul></li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>block-selection-mode (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13356">https://phabricator.kde.org/D13356</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/TerminalDisplay.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Konsole<br /><strong>Cc: </strong>konsole-devel, Konsole, herrold, ngraham, maximilianocuria, hindenburg<br /></div>