diff options
author | Eugene V. Lyubimkin <jackyf.devel@gmail.com> | 2009-06-29 13:08:39 +0300 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:27 +0200 |
commit | 6e545da37e2482b15007df28c549afa072a5198d (patch) | |
tree | 0c8b285d20201de17614a4d4fa9b3c644882ca94 /RichString.h | |
parent | 48ba112c47aec96ec9ce96103490eeb8b1b12585 (diff) | |
parent | bea9b4798717b6f4e31085506dfc179eeb8dc17c (diff) | |
download | debian_htop-6e545da37e2482b15007df28c549afa072a5198d.tar.gz debian_htop-6e545da37e2482b15007df28c549afa072a5198d.tar.bz2 debian_htop-6e545da37e2482b15007df28c549afa072a5198d.zip |
Imported Debian patch 0.8.3-1debian/0.8.3-1
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/RichString.h b/RichString.h index 036a24a..994f504 100644 --- a/RichString.h +++ b/RichString.h @@ -11,13 +11,14 @@ #include <stdlib.h> #include <string.h> -#include <curses.h> #include <ctype.h> #include "debug.h" #include <assert.h> #ifdef HAVE_LIBNCURSESW -#include <wchar.h> +#include <ncursesw/curses.h> +#else +#include <curses.h> #endif #define RICHSTRING_MAXLEN 300 @@ -68,6 +69,8 @@ int RichString_findChar(RichString *this, char c, int start); #endif +void RichString_prune(RichString* this); + void RichString_setAttr(RichString *this, int attrs); extern void RichString_append(RichString* this, int attrs, char* data); |