New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need help:mouse scroll and systemctl #2939
Comments
Works fine for me both with --mouse and without, using less --mouse setup.py or less setup.py in the latter case kitty will send arrow key events, in the former it less version 551 |
try $ systemctl -list-unit-files, that phenomenon only appears in command line tools of systemd |
This is caused by kitty only sending scroll events to the application when the alternate screen is active. You can set the environment variable |
Then you should report the issue to them. They probably do some hackery |
thanks. |
yes. |
wheel mouse events are used to scroll the scrollback buffer when not using the alternate screen. |
Oh I see. |
I have tested your commit, It's works, but still a little mismatch with other terminals: gnome-terminal: kitty: but kitty: |
Should be fine now. |
I have set
PAGER=less --mouse
so that i can scroll down with mouse in
$ systemctl list-unit-files (or other systemd command line tools)
that works with gnome-terminal / xterm / xfce-terminal / konsole / ....
,
but I notice that didn't work with kitty.
I then set
PAGER=most
, now mouse scroll down works again.
Is it a problem of less ? or systemd ? or kitty ?
how to solve this problem? thanks.
The text was updated successfully, but these errors were encountered: