dvtm icon indicating copy to clipboard operation
dvtm copied to clipboard

Using the alt key doesn't work

Open jcjordyn130 opened this issue 7 years ago • 5 comments

I've tried messing with TERM and DVTM_TERM and for whatever reason I can't get alt to work.

jcjordyn130 avatar Oct 06 '17 01:10 jcjordyn130

ALT + key a combination of escape + key and another key.

If you enter cat and then press ALT + somekey, what do you see?

ghost avatar Oct 07 '17 07:10 ghost

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 avatar Mar 29 '18 10:03 refacto

@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.

ghost avatar Mar 29 '18 14:03 ghost

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.

ghost avatar Mar 29 '18 14:03 ghost

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.

refacto avatar Mar 29 '18 15:03 refacto