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

Support reading keyboard input #2199

Open
jemag opened this issue Feb 26, 2023 · 1 comment
Open

Support reading keyboard input #2199

jemag opened this issue Feb 26, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jemag
Copy link

jemag commented Feb 26, 2023

This has come up a few times in various issues such as:
#1807
#1962

and numerous times discussing Zellij with peers and colleagues. A lot of users are currently using tmux and not being able to use their keybinds within Zellij because it only supports STDIN is a big blocker to transition.

I realize that there are some use cases where the behavior may not be consistent (ssh), however, nowadays most developers and general users will spend the vast majority of their time on their local setup.

I truly believe that this would improve the experience of the vast majority of users in most use cases. This would also be a more intuitive experience for new users of Zellij, which seems to be something that the project values.

@imsnif
Copy link
Member

imsnif commented Feb 27, 2023

Honestly, if someone wants to implement it in a way that Zellij will accept both (and I assume there's some magic mechanism from the various window managers that will mean keyboard input will only come from the focused window), I'd accept this PR.

Of course with the usual caveats of cross platform compatibility, and a warning in the logs when "keyboard-only" keys are defined, so that users can know why spamming certain keys over SSH isn't working for them.

@imsnif imsnif added the help wanted Extra attention is needed label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants