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 · 2 comments

Comments

2 participants
@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

This comment has been minimized.

Copy link
Author

codybuell commented Nov 29, 2017

Building from latest in Github resolves the issue.

@codybuell codybuell closed this Nov 29, 2017

@ivladak

This comment has been minimized.

Copy link

ivladak commented Mar 21, 2018

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.

ivladak added a commit to ivladak/.dotfiles that referenced this issue Mar 21, 2018

ivladak added a commit to ivladak/.dotfiles that referenced this issue Jul 12, 2018

tmux: 2.7 is out, no need to work around anymore
Revert "tmux.conf: work around tmux/tmux#1175"

This reverts commit cfd9ec9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment