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

add meta to ncinput #2522

Closed
dankamongmen opened this issue Jan 3, 2022 · 0 comments · Fixed by #2523
Closed

add meta to ncinput #2522

dankamongmen opened this issue Jan 3, 2022 · 0 comments · Fixed by #2523
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request input readin' dem bytes
Milestone

Comments

@dankamongmen
Copy link
Owner

We can get the Meta modifier status out of both XTMODKEYS and the Kitty protocol. Add it to ncinput, and set it from the input automaton.

@dankamongmen dankamongmen added documentation Improvements or additions to documentation enhancement New feature or request input readin' dem bytes labels Jan 3, 2022
@dankamongmen dankamongmen added this to the 3.1.0 milestone Jan 3, 2022
@dankamongmen dankamongmen self-assigned this Jan 3, 2022
dankamongmen added a commit that referenced this issue Jan 4, 2022
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
dankamongmen added a commit that referenced this issue Jan 4, 2022
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
dankamongmen added a commit that referenced this issue Jan 5, 2022
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
dankamongmen added a commit that referenced this issue Jan 8, 2022
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
dankamongmen added a commit that referenced this issue Jan 8, 2022
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request input readin' dem bytes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant