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

S-Down binding not working. #1175

Closed
codybuell opened this issue Nov 29, 2017 · 3 comments
Closed

S-Down binding not working. #1175

codybuell opened this issue Nov 29, 2017 · 3 comments

Comments

@codybuell
Copy link

codybuell commented Nov 29, 2017

Shift-Down binding does not work or runs the binding for Shift-Up.

Platform: OSX
Terminal: iTerm2 build 3.1.5
TMUX: 2.6 installed via homebrew
TERM: xterm-256color / screen (outside and in tmux respectively)

Steps to reproduce:

  1. run tmux -Ltest -f/dev/null -vvv new
  2. create several new windows
  3. create mapping bind-key -n S-Down previous-window
  4. S-Down mapping does not work.
  5. create mapping bind-key -n S-Up next-window
  6. S-Up mapping works as expected, S-Down mapping now runs S-Up mapping (next-window)

Outside of tmux output from cat for S-Down:

^[[1;2B

Outside of tmux output from cat for S-Up:

^[[1;2A

Inside of tmux output from cat for S-Down:

^[[1;2A

Inside of tmux output from cat for S-Up:

^[[1;2A

Quick fix of set -as terminal-overrides ',st*:kind@:kri@' as mentioned in #1105 not working.

tmux-server-38187.log

@codybuell
Copy link
Author

Building from latest in Github resolves the issue.

@vivanishin
Copy link

2.6 is still the latest release (and thus has this bug). Looks like db44151 is the commit that fixes it.

I was going to suggest backporting it to the release branch, but then I learned that there's no such thing.

This bug is not that big a deal, but I thought I'd let you know that people are still hitting it. And probably more will be hitting it over time as distributions adopt newer releases (the bug was introduced shortly before 2.6).

I started binding things to S-up and S-down after reading this post: http://stahlke.org/dan/tmux-nested/ so it might be somewhat popular.

vivanishin added a commit to vivanishin/.dotfiles that referenced this issue Mar 21, 2018
vivanishin added a commit to vivanishin/.dotfiles that referenced this issue Jul 12, 2018
Revert "tmux.conf: work around tmux/tmux#1175"

This reverts commit cfd9ec9.
@lock
Copy link

lock bot commented Feb 15, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants