Changeset 3964 for neercs


Ignore:
Timestamp:
Nov 19, 2009, 3:25:07 PM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Don't send escape-key when quitting help window, added 'h' as a possible way to quit it, too.
File:
1 edited

Legend:

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

    r3962 r3964  
    455455    if (screen_list->help)
    456456    {
    457         if (c == CACA_KEY_ESCAPE)
     457        if (c == CACA_KEY_ESCAPE ||
     458            c == 'h')
    458459        {
    459460            screen_list->help = 0;
    460461            screen_list->changed = 1;
    461462            refresh = 1;
     463            return 1;
    462464        }
    463465        else
Note: See TracChangeset for help on using the changeset viewer.