Ticket #8482: VTkeymap.h.patch

File VTkeymap.h.patch, 585 bytes (added by arfonzo, 8 years ago)
  • VTkeymap.h

    old new  
    6363#define PAGE_UP_KEY 0x21
    6464#define PAGE_DOWN_KEY 0x36
    6565
    66 
    67 #define LEFT_ARROW_KEY_CODE "\033OD"
    68 #define RIGHT_ARROW_KEY_CODE "\033OC"
    69 #define UP_ARROW_KEY_CODE "\033OA"
    70 #define DOWN_ARROW_KEY_CODE "\033OB"
     66#define LEFT_ARROW_KEY_CODE "\033[D"
     67#define RIGHT_ARROW_KEY_CODE "\033[C"
     68#define UP_ARROW_KEY_CODE "\033[A"
     69#define DOWN_ARROW_KEY_CODE "\033[B"
    7170
    7271#define CTRL_LEFT_ARROW_KEY_CODE "\033O5D"
    7372#define CTRL_RIGHT_ARROW_KEY_CODE "\033O5C"