Skip to content

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

Merged
mattrose merged 1 commit intognome-terminator:masterfrom
Vulcalien:mousewheel-modifiers
Jun 27, 2022
Merged

Terminal ctrl+mousewheel: do not try to zoom if shift is pressed#609
mattrose merged 1 commit intognome-terminator:masterfrom
Vulcalien:mousewheel-modifiers

Conversation

@Vulcalien
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants