Open dullbananas opened 4 years ago
Yes, some of my shortcuts no longer work in 2.0.7
, including alt
+<cursor-key>
and ctrl
+shift
+<cursor-key>
, though they work fine in 2.0.6
.
What terminal are you using?
Konsole, here.
Oh, I'm seeing now this is only a problem while I'm in a tmux session. @dullbananas is that the case for you? If not, I'll remove the below and find/open a separate issue.
The key events received are quite different, for, e.g. alt
-left
:
without tmux:
EventKey: Alt-Left: "\x1b[1;3D"
with tmux:
EventKey: Alt-[: "\x1b["
EventKey: 1: "1"
EventKey: ;: ";"
EventKey: 3: "3"
EventKey: D: "D"
While in the static 2.0.6
release they are identical, and in the first form.
tmux 3.1_b konsole 20.08.1 micro 2.0.7
Yes I think this has been fixed on the master branch (let me know if it doesn’t work if possible). I might push out another release next week with those fixes and some more improvements, and in the meantime you can use the nightly.
It might also work on 2.0.7 if you set your TERM variable to tmux-256color or if you set the xterm option to true.
Oh, I'm seeing now this is only a problem while I'm in a tmux session. @dullbananas is that the case for you? If not, I'll remove the below and find/open a separate issue.
@AndydeCleyre I have never used tmux before
Oh, I'm seeing now this is only a problem while I'm in a tmux session. @dullbananas is that the case for you? If not, I'll remove the below and find/open a separate issue.
@AndydeCleyre I have never used tmux before
Confirmed:
2.0.8-dev.8
c26a365f, thanks!2.0.7
with -xterm true
(TERM
was always tmux-256color
), thanks!@dullbananas, what about you?
When I press alt + command + up key, this gets typed:
Similar codes appear with other arrow keys.
Terminal: pythonanywhere console
Micro commit hash: c51f849