D11146: Only emulate up/down key presses for mouse scrolls on alternate screen

Ahmad Samir noreply at phabricator.kde.org
Thu Mar 8 22:47:50 UTC 2018


ahmadsamir updated this revision to Diff 29042.
ahmadsamir added a comment.


  Looking at the info in the bug report again and at[1], I've changed the patch to only send the up/down key press events if the terminal is using the alternate screen, which is what less and co. use.
  
  Now the behaviour matches xterm and  and gnome-terminal.
  
  [1] http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Wheel-mice

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D11146?vs=28981&id=29042

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

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

To: ahmadsamir, hindenburg
Cc: #konsole, herrold, ngraham, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180308/04c9703d/attachment.html>


More information about the konsole-devel mailing list