diff options
| author | Malfurious <m@lfurio.us> | 2020-06-26 19:55:41 -0400 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-02-06 00:31:41 -0500 |
| commit | dbe81cd2ebd1aad08473f8ec260cbbc400cc464a (patch) | |
| tree | b04a12c38b74bd71f07616ae84032a45d5b95459 /st.h | |
| parent | ec60b75d1a2c943ddcd9aa4553293d8fb91fe67a (diff) | |
| download | st-dbe81cd2ebd1aad08473f8ec260cbbc400cc464a.tar.gz st-dbe81cd2ebd1aad08473f8ec260cbbc400cc464a.zip | |
patch: scrollback-mouse-altscreen
Apply the following patch on top of the previous two to allow scrollback
using mouse wheel only when not in MODE_ALTSCREEN. For example the
content is being scrolled instead of the scrollback buffer in less.
Consequently the Shift modifier for scrolling is not needed anymore.
The mouse and altscreen patches 20191024-a2c479c (and later, including
this one) are simpler and more robust because st gained better support
for customized mouse shortcuts. As a result, the altscreen patch doesn't
really need the mouse patch. However to keep it simple the instructions
stay the same: the alrscreen patch still applies on top of the (now very
minimal) mouse patch.
Diffstat (limited to 'st.h')
| -rw-r--r-- | st.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ void sendbreak(const Arg *); void toggleprinter(const Arg *); int tattrset(int); +int tisaltscr(void); void tnew(int, int); void tresize(int, int); void tsetdirtattr(int); |
