Ignore:
Timestamp:
May 20, 2006, 10:45:19 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Got backspace to work with the slang and ncurses drivers in an X terminal window.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_ncurses.c

    r971 r974  
    239239    }
    240240
    241     if(intkey < 0x80)
     241    if(intkey < 0x7f)
    242242    {
    243243        ev->type = CACA_EVENT_KEY_PRESS;
     
    410410        case KEY_IC: ev->data.key.ch = CACA_KEY_INSERT; break;
    411411        case KEY_DC: ev->data.key.ch = CACA_KEY_DELETE; break;
     412        case 0x7f:
    412413        case KEY_BACKSPACE: ev->data.key.ch = CACA_KEY_BACKSPACE; break;
    413414        case KEY_HOME: ev->data.key.ch = CACA_KEY_HOME; break;
Note: See TracChangeset for help on using the changeset viewer.