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_slang.c

    r970 r974  
    276276
    277277    /* If the key was ASCII, return it immediately */
    278     if(intkey < 0x80)
     278    if(intkey < 0x7f)
    279279    {
    280280        ev->type = CACA_EVENT_KEY_PRESS;
     
    319319        case SL_KEY_IC: ev->data.key.ch = CACA_KEY_INSERT; break;
    320320        case SL_KEY_DELETE: ev->data.key.ch = CACA_KEY_DELETE; break;
     321        case 0x7f:
    321322        case SL_KEY_BACKSPACE: ev->data.key.ch = CACA_KEY_BACKSPACE; break;
    322323        case SL_KEY_HOME: ev->data.key.ch = CACA_KEY_HOME; break;
Note: See TracChangeset for help on using the changeset viewer.