Theme:
  

KiTTY : Forum

Last modification : -


Forum Home
 

ALT+RIGHT shortcut behaves like CONTROL+SHIFT+RIGHT

Jörg - Mon 18/06/2012 11:33:04 CEST +0200

I have this shortcuts:

{ALT}{RIGHT}=\x1b[1;3C\
{CONTROL}{SHIFT}{RIGHT}=\x1b[1;6C\

When I press Alt+Right the command of Control+Shift+Right is sent.
Is it a bug? Or is there I way how I can fix it?

Jörg - Mon 18/06/2012 14:59:29 CEST +0200

I looked in the source and it seems like this constants are the problem:

  1. define SHIFTKEY 500
  2. define CONTROLKEY 1000
  3. define ALTKEY 1500
  4. define ALTGRKEY 2000
  5. define WINKEY 2500
Here SHIFTKEY+CONTROLKEY == ALTKEY

I propose to use this instead:
  1. define SHIFTKEY 500
  2. define CONTROLKEY 1000
  3. define ALTKEY 2000
  4. define ALTGRKEY 4000
  5. define WINKEY 8000

Cyd - Mon 18/06/2012 15:25:41 CEST +0200

Try this fix.

Jörg - Mon 18/06/2012 15:49:12 CEST +0200

Thanks, works fine.




Answer


Currently the forum is closed