Changeset 10b866d for util.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
  • util.c

    r1c6c4d3 r10b866d  
    299299}
    300300
     301/* returns if a string is only whitespace */
     302int only_whitespace(char *s) {
     303  int i;
     304  for (i=0; s[i]; i++) {
     305    if (!isspace(s[i])) return(0);
     306  }
     307  return(1);
     308}
    301309
    302310void *owl_malloc(size_t size) {
Note: See TracChangeset for help on using the changeset viewer.