Closed arp242 closed 4 years ago
I just fixed the delete key on xterm. https://github.com/aaronjanse/3mux/commit/31af1e219d1164ec1862bce3229189b1b88ad927 St seems more complex to deal with, though. http://git.suckless.org/st/file/FAQ.html#l25
I couldn't reproduce arrow key issues on xterm or st (under Linux). Are you using macOS?
The truth is, $TERM isn't used, and this is a problem. I originally didn't use ncurses after reading some outdated documentation. I plan on re-implementing keypress reading and rendering using ncurses later this week.
I'll also look into how tmux deals with st
.
Nah, I use Linux (do xterm and st even run on macOS?)
Actually the arrow keys work in zsh, but not in Vim; this is probably a Vim issue, but I thought it could probably be fixed with some TERM frobbing 😅
There's also an issue with colours, notice how the tabline and statusline aren't inversed:
It has cterm=bold,reverse
; so looks like that's not supported perhaps? I don't envy you for dealing with all this terminal stuff by the way, it's hard stuff.
Also: I just casually looked at this program, I'm probably not going to use it, as I don't really use panes with tmux (or use i3), so the advantages of this project are kinda lost for me; so please don't hurry to fix/change anything on my regard. Just so you know. I just figured this might be a common issue/question so it would be helpful to open an issue for this. Don't mind help testing stuff if that's helpful for you though (or feel free to just close this).
Oh wow. I've been dealing with the vim bug for the past hour in a different branch. I didn't realize the regression happened on master. I just fixed the issue, and you can update 3mux via go get -u github.com/aaronjanse/3mux
.
It has cterm=bold,reverse; so looks like that's not supported perhaps?
Not yet, but it's an easy fix. I'm refactoring the rendering engine right now (https://github.com/aaronjanse/3mux/issues/21), so I'll make sure to include this feature.
I just casually looked at this program, I'm probably not going to use it, as I don't really use panes with tmux (or use i3), so the advantages of this project are kinda lost for me; so please don't hurry to fix/change anything on my regard. Just so you know. I just figured this might be a common issue/question so it would be helpful to open an issue for this. Don't mind help testing stuff if that's helpful for you though (or feel free to just close this).
No problem, and thank you so much! I'm going to close this specific issue, but if you've notice anything else weird, feel free to open another issue or leave a comment here.
Things like arrow keys and delete button don't seem to work correct in either
st
orxterm
. I suspect this is probably related to an incorrectTERM
(?) But I couldn't find what the correct one should be? Would be helpful if this was documented instead of trying a few until one works!