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

Enable more symbolic keys: F13-F19, ShiftLeft/Right/Del/Home/End/Tab #642

Merged
merged 3 commits into from
Jul 4, 2017

Conversation

rolandwalker
Copy link
Contributor

Along with some doc cleanup.

Further additional symbolic keys are known to ncurses; this PR is limited to keys I happen to be able to generate under xterm and/or iTerm2.

<ShiftLeft> looks like a poor choice of interface at first glance, compared to something composable like <Shift><Left>. But these keys are not actually composable, at least as filtered through ncurses.

Ncurses has a finite list of supported shifted keys, the majority of which will not be available for modern keyboards/emulators.

That might be somewhat more clear to the user if the names were changed to eg <ShiftedLeft>.

@rolandwalker rolandwalker force-pushed the enable-more-symbolic-keys branch from df4503f to 28337a3 Compare July 4, 2017 01:53
Notes

- Tig reads keystrokes via ncurses and is subject to various limitations. See
'ncurses(3x)' and 'terminfo(5)' (or termcap).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jonas
Copy link
Owner

jonas commented Jul 4, 2017

Build failure is due to 2b384f6.

@jonas jonas merged commit 0c4c0da into jonas:master Jul 4, 2017
@rolandwalker rolandwalker deleted the enable-more-symbolic-keys branch July 4, 2017 04:16
@jonas jonas modified the milestone: tig-2.3 Jul 8, 2017
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