Skip to content
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

[feature request] allow disabling mouse input #1289

Closed
ghost opened this issue Jul 28, 2023 · 3 comments · Fixed by #1295
Closed

[feature request] allow disabling mouse input #1289

ghost opened this issue Jul 28, 2023 · 3 comments · Fixed by #1295

Comments

@ghost
Copy link

ghost commented Jul 28, 2023

from the man page:

interactive
invokes the interactive version of khal, can also be invoked by calling ikhal. While ikhal can be used entirely with the keyboard, some elements respond if clicked on with a mouse (mostly by being selected).

I don't use the mouse with any application which can be used entirely with the keyboard. For instance htop and fzf have an option (a flag) to disable mouse support.

fzf --no-mouse
htop --no-mouse
@WhyNotHugo
Copy link
Member

Does the mouse-grabbing behaviour bother in some way?

@ghost
Copy link
Author

ghost commented Aug 20, 2023

Does the mouse-grabbing behaviour bother in some way?

In every program it does to some degree, yes. I mainly have mouse plugged in the first place since it or some form of pointer device is mandatory for modern web browsing and DEs (including Gnome).

Disabling the feature may also lower to overhead to a minor degree.

choucavalier added a commit to choucavalier/khal that referenced this issue Sep 16, 2023
This is done by passing the `handle_mouse` Boolean argument to urwid's
main loop (currently unused). By default, the mouse remains enabled
(see `khal.spec`). Mouse can be disabled either by setting
`enable_mouse = False` in the `[default]` section of khal's config
file, or by passing the `--no-mouse` flag to the `khal interactive` or
`ikhal` click commands.
@choucavalier
Copy link
Contributor

choucavalier commented Sep 16, 2023

I've opened a PR to add this functionality.

geier added a commit that referenced this issue Oct 24, 2023
[ikhal] add option to disable mouse, fixes #1289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants