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

Binding Ctrl-h to some action prevent backspace to be working fine #50

Closed
jczulian opened this issue Jul 19, 2016 · 2 comments
Closed

Comments

@jczulian
Copy link

In my config file I have Ctrl-h bound to the previous-window command. Unfortunately having this setting makes also the backspace key triggering this command. This behavior prevent me to actually using backspace for what it is meant for.

You mention that ctrl-h and backspace are somehow the same key sequence. However in tmux I do have the similar setting and it works. So it might be possible to have pymux override this default behavior and adopting something similar to what tmux does.

Here is an excerpt from my config file

bind-key -n C-l next-window
bind-key -n C-h previous-window
@jonathanslenders
Copy link
Member

Hi @jczulian,

I just fixed the issue in this commit of prompt-toolkit: prompt-toolkit/python-prompt-toolkit@b586e47

If you have time, can you try to checkout the latest master branch of prompt-toolkit, install that and try again. If it doesn't work, we'll see tomorrow.

Cheers,
Jonathan

@jczulian
Copy link
Author

Hi @jonathanslenders,

I have just tried it, works perfectly. Thank you very much, I can now get back to using pymux instead of using tmux.

Keep the good work and thanks a million for your help.

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

No branches or pull requests

2 participants