Ignore:
Timestamp:
Mar 24, 2009, 1:58:01 AM (12 years ago)
Author:
Sam Hocevar
Message:

Apparently \033 is more common than \x1b for ESC. Use the former in our
code for clarity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/win32.c

    r3168 r3412  
    285285                case VK_TAB:        ev->data.key.ch = '\t';              break;
    286286                case VK_RETURN:     ev->data.key.ch = '\r';              break;
    287                 case VK_ESCAPE:     ev->data.key.ch = '\x1b';            break;
     287                case VK_ESCAPE:     ev->data.key.ch = '\033';            break;
    288288                case VK_SPACE:      ev->data.key.ch = ' ';               break;
    289289                case VK_DELETE:     ev->data.key.ch = '\x7f';            break;
Note: See TracChangeset for help on using the changeset viewer.