Skip to content

Added scrolling of unfocused window with mouse in ncurses frontend#1323

Merged
cxxxr merged 1 commit intolem-project:mainfrom
asutoshpalai:mouse-unfocused-scroll
Mar 2, 2024
Merged

Added scrolling of unfocused window with mouse in ncurses frontend#1323
cxxxr merged 1 commit intolem-project:mainfrom
asutoshpalai:mouse-unfocused-scroll

Conversation

@asutoshpalai
Copy link
Copy Markdown
Contributor

@asutoshpalai asutoshpalai commented Mar 1, 2024

This feature allows us to scroll other windows under the mouse while the focus is on one window.

I use this feature heavily while referencing another code in a split window. This also matches the behaviour of Emacs and Vim (at least on macOS).

This is gated under the parameter lem-mouse-sgr1006:*scroll-unfocused-window* with the default value as nil. I am open to setting this as default behaviour, but I was not sure other users would prefer this.

@asutoshpalai asutoshpalai force-pushed the mouse-unfocused-scroll branch from 17ad8a5 to db7e379 Compare March 1, 2024 21:23
@cxxxr cxxxr merged commit 333096c into lem-project:main Mar 2, 2024
@cxxxr
Copy link
Copy Markdown
Member

cxxxr commented Mar 2, 2024

Thank you.
it's probably ok, I'll merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants