Changeset 2375 for neercs


Ignore:
Timestamp:
Jun 13, 2008, 5:35:21 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • ESC closes help window as well
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r2373 r2375  
    303303                case CACA_KEY_LEFT:
    304304                    write(screen_list->screen[pty]->fd, "\x1b[D", 3); break;
     305                case CACA_KEY_ESCAPE:
     306                    if(help) help = 0;
    305307                default:
    306308                    write(screen_list->screen[pty]->fd, &c, 1); break;
Note: See TracChangeset for help on using the changeset viewer.