D12553: Convert loc() to function and add arguments checks

Mariusz Glebocki noreply at phabricator.kde.org
Thu Apr 26 21:55:33 UTC 2018


mglb created this revision.
mglb added a reviewer: Konsole.
mglb added a project: Konsole.
mglb requested review of this revision.

REVISION SUMMARY
  For debug builds, the function will fail when called with out of display
  coordinates, allowing to spot addressing errors. For regular builds,
  it will limit coordinates to valid area without triggering errors.
  
  Depends on D12551 <https://phabricator.kde.org/D12551>

TEST PLAN
  - Compiles, does not fail with use cases from previous commit

BRANCH
  wip/cursor-fixes/0002-Convert-loc-to-function-and-add-arguments-checks (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D12553

AFFECTED FILES
  src/TerminalDisplay.cpp
  src/TerminalDisplay.h

To: mglb, #konsole
Cc: #konsole, herrold, ngraham, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180426/6ca27715/attachment-0001.html>


More information about the konsole-devel mailing list