dvtm
dvtm copied to clipboard
Using the alt key doesn't work
I've tried messing with TERM and DVTM_TERM and for whatever reason I can't get alt to work.
ALT + key a combination of escape + key and another key.
If you enter cat
and then press ALT + somekey, what do you see?
I also have weird behaviour using the alt key.
Input: alt + <letter/number>
Output: ^[1^[a^[2^[b
Input: alt + <arrowkey>
Output: nothing
I would like the alt + <arrowkey>
combination to work, as it makes switching channels in irssi much easier.
@refacto: A workaround for having the life easier before a patch fix this: you can use
- ctrl + n next channel
- ctrl + p previous channel
-
alt + [number] to jump to channel
number
- alt + a to jump to last channel with activity
Of course the real solution is having it fixed in dvtm.
On my side, I have ^[[1;3D
(so it works). Maybe it is a dvtm, maybe it is a libtermkey bug...
@refacto: do you have some more info about the escape sequences you send to dvtm?
As an example, you can check (this time outside dvtm) with cat
+ enter and then some arrow key.
Also, the output of echo $TERM
would be useful.
This will help to reproduce the issue.
Thanks, this helps a bunch! :)
On 29 March 2018 16:19:06 CEST, "Josuah Demangeon⠠⠵" [email protected] wrote:
@refacto: A workaround for having the life easier before a patch fix this: you can use
- ctrl + n next channel
- ctrl + p previous channel
- alt + [number] to jump to channel
number
- alt + a to jump to last channel with activity
Of course the real solution is having it fixed in dvtm.