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

Terminal ctrl+mousewheel: do not try to zoom if shift is pressed #609

Merged
merged 1 commit into from Jun 27, 2022

Conversation

Vulcalien
Copy link
Member

@Vulcalien Vulcalien commented Jun 13, 2022

Solves #606 (maybe partially)

The intended feature

To zoom/unzoom the font, it is possible to do ctrl+mousewheel in the terminal.
To do fast scrolling, there is shift+mousewheel.

Problem

However, ctrl+shift+mousewheel will zoom/unzoom the font as well, ignoring the shift key.

Solution

In the code, check if the modifier is only ctrl, so that the zoom/unzoom is not triggered when doing ctrl+shift+mousewheel

Question

Should we check for things like ctrl+alt+mousewheel, ctrl+super+mousewheel and so on as well?

@mattrose
Copy link
Member

I'm so sorry I haven't merged this in, I'm just super-busy right now. I haven't forgotten about you, I just don't seem to have any time right now. Thank you so much for. putting in this work.

@Vulcalien
Copy link
Member Author

No worries! It's not that urgent anyway, it sure can wait

@mattrose mattrose merged commit 7b39058 into gnome-terminator:master Jun 27, 2022
@mattrose
Copy link
Member

Thanks @Vulcalien. Sorry for the wait!

@Vulcalien Vulcalien deleted the mousewheel-modifiers branch August 14, 2022 09:21
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.

None yet

2 participants