[Konsole-devel] [Bug 159340] "less" command o/p cannot scroll with mouse wheel in konsole

Robert Knight robertknight at gmail.com
Mon Mar 17 22:22:02 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159340         
robertknight gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From robertknight gmail com  2008-03-17 23:22 -------
SVN commit 786780 by knight:

If the terminal application is not interested in mouse events and the display's scroll bar is not movable then send Up/Down key press events to the terminal instead.

This makes it possible to scroll up and down in 'less' and other applications using the mouse wheel.  One key press is sent for every 5 degrees of mouse wheel rotation.  Typical mouse wheels operate in steps of 15 degrees which equals 3 lines scrolled per notch.  This default is the same as Vim's default mouse wheel scroll step.

As in gnome-terminal and others, this has side effects such as the mouse wheel scrolling through history results in the shell if the shell is run in a program such as screen.

BUG: 159340


 M  +36 -1     TerminalDisplay.cpp  
 M  +3 -0      TerminalDisplay.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=786780



More information about the konsole-devel mailing list