Changeset 10b866d for owl.h


Ignore:
Timestamp:
Jul 8, 2002, 10:37:21 PM (22 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, 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
  • owl.h

    r1c7a4e0 r10b866d  
    238238} owl_mainwin;
    239239
    240 typedef struct _owl_editwin {
    241   char *buff;
    242   int bufflen;
    243   int allocated;
    244   int buffx, buffy;
    245   int topline;
    246   int winlines, wincols, fillcol, wrapcol;
    247   WINDOW *curswin;
    248   int style;
    249   int lock;
    250   int dotsend;
    251 } owl_editwin;
    252 
    253240typedef struct _owl_viewwin {
    254241  owl_fmtext fmtext;
     
    305292} owl_history;
    306293
     294typedef struct _owl_editwin {
     295  char *buff;
     296  owl_history *hist;
     297  int bufflen;
     298  int allocated;
     299  int buffx, buffy;
     300  int topline;
     301  int winlines, wincols, fillcol, wrapcol;
     302  WINDOW *curswin;
     303  int style;
     304  int lock;
     305  int dotsend;
     306} owl_editwin;
     307
    307308typedef struct _owl_keybinding {
    308309  int  *j;                      /* keypress stack (0-terminated) */ 
     
    334335  owl_mainwin mw;
    335336  owl_popwin pw;
    336   owl_history hist;
     337  owl_history cmdhist;          /* command history */
     338  owl_history msghist;          /* outgoing message history */
    337339  owl_keyhandler kh;
    338340  owl_list filterlist;
Note: See TracChangeset for help on using the changeset viewer.