Changeset 39cff48


Ignore:
Timestamp:
Sep 28, 2009, 3:24:26 PM (11 years ago)
Author:
Karl Ramm <kcr@1ts.org>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9cb03bf
Parents:
de3f641
git-author:
Karl Ramm <kcr@1ts.org> (09/28/09 11:49:26)
git-committer:
Karl Ramm <kcr@1ts.org> (09/28/09 15:24:26)
Message:
Spread the background color across the right hand side of messages

Tell curses that a color setting represents the background rendition
for the window, then resets the background rendition at the bottom of
_owl_fmtext_curs_waddstr, so the window doesn't get filled with the
background color of the last message.  There is an open question whether
the appropriate thing to reset it to is always 0.

Fixes #103.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    rc79a047 r39cff48  
    272272  if (owl_global_get_hascolors(&g)) {
    273273      wcolor_set(w,pair,NULL);
     274      wbkgdset(w, COLOR_PAIR(pair));
    274275  }
    275276}
     
    365366    waddstr(w, s);
    366367  }
     368  wbkgdset(w, 0);
    367369}
    368370
Note: See TracChangeset for help on using the changeset viewer.