<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/D12553">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>For debug builds, the function will fail when called with out of display<br />
coordinates, allowing to spot addressing errors. For regular builds,<br />
it will limit coordinates to valid area without triggering errors.</p>
<p>Depends on <a href="https://phabricator.kde.org/D12551" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12551</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Compiles, does not fail with use cases from previous commit</li>
</ul></div></div><br /><div><strong>BRANCH</strong><div><div>wip/cursor-fixes/0002-Convert-loc-to-function-and-add-arguments-checks (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12553">https://phabricator.kde.org/D12553</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/TerminalDisplay.cpp<br />
src/TerminalDisplay.h</div></div></div><br /><div><strong>To: </strong>mglb, Konsole<br /><strong>Cc: </strong>Konsole, herrold, ngraham, hindenburg<br /></div>