Skip to content

Can't get scroll to work #44

Answered by bakkeby
mrwsl asked this question in Q&A
Nov 3, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

So you have these patches enabled:

#define FONT2_PATCH 1
#define UNIVERSCROLL_PATCH 1
#define XRESOURCES_PATCH 1

The https://st.suckless.org/patches/universcroll/ patch doesn't actually handle any scrolling on its own, the intention I believe is just to make changes so that the mouse scroll wheel will scroll up and down regardless of whether you are in the main terminal or the alt screen (e.g. within less).

The patch assumes that you have the standalone scroll program installed and that you have this config set to "scroll".

/* scroll program: to enable use a string like "scroll" */
char *scroll = NULL;

An alternative would be to enable the scrollback patch.

#define SCROLLBACK_PATCH 0
#define

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrwsl
Comment options

Answer selected by mrwsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants