Changeset e1b136bf for owl.h


Ignore:
Timestamp:
May 11, 2009, 9:50:58 PM (16 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
70110286, dfaa47d
Parents:
fa8f439
Message:
Fix handling of C-SPACE, etc.

Instead of storing key sequences NULL-terminated, store an explicit
length everywhere, so that we can handle C-SPACE (which is a 0).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    radee9cc re1b136bf  
    444444
    445445typedef struct _owl_keybinding {
    446   int  *j;                      /* keypress stack (0-terminated) */ 
     446  int  *keys;                   /* keypress stack */
     447  int   len;                    /* length of stack */
    447448  int   type;                   /* command or function? */
    448449  char *desc;                   /* description (or "*user*") */
Note: See TracChangeset for help on using the changeset viewer.