summaryrefslogtreecommitdiffstats
path: root/RichString.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2009-06-02 04:51:23 +0000
committerHisham Muhammad <hisham@gobolinux.org>2009-06-02 04:51:23 +0000
commit6330ff3a0ac6d279132d36cea027ad3f065707b1 (patch)
tree70d894309bb92c9146fc4063e41d68686ffcfafd /RichString.h
parent1371ee28a7e953052e414dfd1641294852aa4458 (diff)
changes for htop 0.8.2
Diffstat (limited to 'RichString.h')
-rw-r--r--RichString.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/RichString.h b/RichString.h
index 036a24a4..05991aa4 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 <curses.h>
+#else
+#include <ncursesw/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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy