tmux: Meta-<Arrow> and Mouse Issues
See original GitHub issueHi,
I’m using terminus with the default “WSL / Ubuntu-18.0.4” profile and have the following in my tmux.conf file:
# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Enable and Disable Synchronize Commands to All Panes
bind -n M-a setw synchronize-panes on
bind -n M-o setw synchronize-panes off
# Enable mouse control (clickable windows, panes, resizable panes)
set-option -g mouse on
setw -g -q mouse on
While [Alt+a]
and [Alt+o]
(2nd section) work just fine [Alt+<Arrows>]
(1st section) do not work.
Also, my mouse is almost not usable. I cannot select + copy temp plus I cannot select panes.
All of the above work just fine with Windows default WSL terminal and some other ones.
Any idea what it can be wrong?
Thank you Dimitrios
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
tmux up arrow not working properly - Unix Stack Exchange
While using tmux, not in an ssh session, the up arrow works. However I can no longer use tmux-action-combo + Ctrl+up to resize...
Read more >In tmux, arrow and ctrl+arrow both result in the same code
Ubuntu 12.10, TERM is set to screen-256color in putty and tmux.conf, confirmed when I export both in and out of a tmux session....
Read more >Cannot get Control Arrow keys working in Vim through tmux
A related problem is that you cannot resize panes using meta-arrow key in tmux from the OSX Terminal. The solution is to select...
Read more >tmux(1) - Linux manual page - man7.org
With -Z, the active pane is toggled between zoomed (occupying the whole of the window) and unzoomed (its normal position in the layout)....
Read more >Screen and tmux - Helpful
Do stuff with it. Disconnect. e.g. by closing the terminal window you're currently using (to simulate a broken network connection).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Faced with same issue. I could not send Meta (Alt) to tmux in tabby. however it still works on default terminal app in Window and Ubuntu. Enable “Use Alt key as the Meta key” didn’t work
Same here, alt+arrow cannot work under tmux.