summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 1fde124..243d1f4 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -343,7 +343,7 @@ int writepriv (unsigned char *str) {
343 fprintf( vchat_logfile, "%s1%s\n", date, str); 343 fprintf( vchat_logfile, "%s1%s\n", date, str);
344 } 344 }
345 345
346 if ( !privwinhidden && (sb_priv->scroll == sb_priv->scroll) && 346 if ( !privwinhidden && (sb_priv->scroll == sb_priv->count) &&
347 ((filtertype == 0) || ( testfilter(tmp)))) { 347 ((filtertype == 0) || ( testfilter(tmp)))) {
348 i = writescr(private, tmp); 348 i = writescr(private, tmp);
349 } 349 }
@@ -1094,16 +1094,18 @@ initui (void)
1094 1094
1095 /* set colors for windows */ 1095 /* set colors for windows */
1096 if (has_colors()) { 1096 if (has_colors()) {
1097 wattrset (console, COLOR_PAIR (9)); 1097// wattrset (console, COLOR_PAIR (9));
1098 wattrset (input, COLOR_PAIR (0)); 1098 wattrset (input, COLOR_PAIR (0));
1099 wattrset (topic, COLOR_PAIR (9)); 1099// wattrset (topic, COLOR_PAIR (9));
1100 wbkgd (output, COLOR_PAIR(8)); 1100 wbkgd (output, COLOR_PAIR(8));
1101 wbkgd (console, COLOR_PAIR (9)); 1101// wbkgd (console, COLOR_PAIR (9));
1102 wbkgd (channel, COLOR_PAIR (0)); 1102 wbkgd (channel, COLOR_PAIR (0));
1103 wbkgd (input, COLOR_PAIR (0)); 1103 wbkgd (input, COLOR_PAIR (0));
1104 wattron (console, A_REVERSE);
1105 wattron (topic, A_REVERSE);
1104 if (private) 1106 if (private)
1105 wbkgd (private, COLOR_PAIR (0)); 1107 wbkgd (private, COLOR_PAIR (0));
1106 wbkgd (topic, COLOR_PAIR (9)); 1108// wbkgd (topic, COLOR_PAIR (9));
1107 } else { 1109 } else {
1108 wattron (console, A_REVERSE); 1110 wattron (console, A_REVERSE);
1109 wattron (topic, A_REVERSE); 1111 wattron (topic, A_REVERSE);