<table><tr><td style="">mglb created this revision.<br />mglb added a reviewer: Konsole.<br />mglb added a project: Konsole.<br />mglb 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/D12554">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Until now, the cursor was moved from last column to the next column<br />
outside the screen. Since screen array is linear, it partially worked<br />
like it was on the beginning of a next line (as long as it was not the<br />
last line).</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Run <tt style="background: #ebebeb; font-size: 13px;">cat > /dev/null</tt> (shells do their own line wrapping, so will not work)</li>
<li class="remarkup-list-item">Move cursor to terminal's last visible line using enter</li>
<li class="remarkup-list-item">Move cursor to terminal's last visible column by typing something</li>
<li class="remarkup-list-item">Type one more character</li>
</ul>

<p>Expected resul: new line should appear with the cursor on the beginning<br />
Actual result: cursor disappears, no new line</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Turn on blinking cursor</li>
<li class="remarkup-list-item">Run <tt style="background: #ebebeb; font-size: 13px;">cat > /dev/null</tt></li>
<li class="remarkup-list-item">Move cursor to terminal's last visible column by typing something</li>
<li class="remarkup-list-item">Type one more character</li>
</ul>

<p>Expected result: the cursor should move to new line's first column</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" 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);">and blink</pre></div>

<p>Actual result: the cursor "moves" but does not blink</p></div></div><br /><div><strong>BRANCH</strong><div><div>wip/cursor-fixes/0003-Fix-cursor-advancement-in-last-column (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12554">https://phabricator.kde.org/D12554</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/Screen.cpp</div></div></div><br /><div><strong>To: </strong>mglb, Konsole<br /><strong>Cc: </strong>Konsole, herrold, ngraham, hindenburg<br /></div>