diff options
author | nattfodd <nattfodd@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-08-08 21:11:20 +0000 |
---|---|---|
committer | nattfodd <nattfodd@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-08-08 21:11:20 +0000 |
commit | 8b75299729034bd130e06462ebac49158bf58160 (patch) | |
tree | ffb7f377f1af402923dd2202536d19605c3af4e0 /src/fe-text/term-curses.c | |
parent | bd3a137c814561bd1a110d1c020350b7de4d10fd (diff) | |
download | irssi-8b75299729034bd130e06462ebac49158bf58160.zip |
Merge of cuix back in trunk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4309 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-curses.c')
-rw-r--r-- | src/fe-text/term-curses.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c index b147e7ab..ca7db091 100644 --- a/src/fe-text/term-curses.c +++ b/src/fe-text/term-curses.c @@ -23,6 +23,10 @@ #include "term.h" #include "mainwindows.h" +#ifdef HAVE_CUIX +#include "cuix.h" +#endif +#include "panel.h" #if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) # include <ncurses.h> @@ -349,14 +353,26 @@ void term_refresh_thaw(void) void term_refresh(TERM_WINDOW *window) { +#ifdef HAVE_CUIX + if (!cuix_active) { +#endif if (window != NULL) wnoutrefresh(window->win); if (freeze_refresh == 0) { move(curs_y, curs_x); wnoutrefresh(stdscr); +#ifdef HAVE_CUIX + cuix_refresh (); +#endif doupdate(); } +#ifdef HAVE_CUIX + } else { + update_panels (); + doupdate (); + } +#endif } void term_stop(void) |