Changeset 10b866d for keymap.c


Ignore:
Timestamp:
Jul 8, 2002, 10:37:21 PM (19 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e1c4636
Parents:
8df36cc
Message:
* Fixed preservation of e->dotsend across owl_editwin_clear().

* Added history for multiline edit windows (eg, for zephyr composition).
  The M-n and M-p keys will cycle through the history ring.
  In particular, it is now possible to edit the command line
  of a zephyr being composed:  C-c it and restart it
  and then M-p to get the aborted composition back.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keymap.c

    r1aee7d9 r10b866d  
    201201  }
    202202
    203   owl_function_debugmsg("processkey: got key %d, active keymap %s, stack at %d",
    204                         j, kh->active->name, kh->kpstackpos);
     203  /*
     204    owl_function_debugmsg("processkey: got key %d, active keymap %s, stack at %d",
     205    j, kh->active->name, kh->kpstackpos);
     206  */
    205207
    206208  /* deal with ESC prefixing */
     
    236238      match = owl_keybinding_match(kb, kh->kpstack);
    237239      if (match == 1) {         /* subset match */
    238         owl_function_debugmsg("processkey: found subset match in %s", km->name);
     240
     241        /* owl_function_debugmsg("processkey: found subset match in %s", km->name); */
    239242        return(0);
    240243      } else if (match == 2) {  /* exact match */
    241         owl_function_debugmsg("processkey: found exact match in %s", km->name);
     244        /* owl_function_debugmsg("processkey: found exact match in %s", km->name); */
    242245        owl_keybinding_execute(kb, j);
    243246        owl_keyhandler_reset(kh);
     
    252255  /* see if a default action exists for the active keymap */
    253256  if (kh->active->default_fn && kh->kpstackpos<1) {
    254     owl_function_debugmsg("processkey: executing default_fn");
     257    /*owl_function_debugmsg("processkey: executing default_fn");*/
     258
    255259    kh->active->default_fn(j);
    256260    owl_keyhandler_reset(kh);
Note: See TracChangeset for help on using the changeset viewer.