Ticket #2837: mc-wterm.patch

File mc-wterm.patch, 416 bytes (added by gv, 8 years ago)
  • mc-4.8.4/lib/tty/key.c

    old new  
    428428    {'/', ESC_STR "Oo", MCKEY_NOACTION}, 
    429429    {'\n', ESC_STR "OM", MCKEY_NOACTION}, 
    430430 
     431    /* WTerm */ 
     432    {KEY_M_CTRL | KEY_HOME, ESC_STR "[1^", MCKEY_NOACTION}, 
     433    {KEY_M_CTRL | KEY_END, ESC_STR "[4^", MCKEY_NOACTION}, 
     434 
    431435    {0, NULL, MCKEY_NOACTION}, 
    432436}; 
    433437