2220 |
curs_set (1); |
curs_set (1); |
2221 |
keypad (stdscr, TRUE); |
keypad (stdscr, TRUE); |
2222 |
noecho (); |
noecho (); |
|
/*nonl();*/ |
|
2223 |
nodelay (stdscr, TRUE); |
nodelay (stdscr, TRUE); |
2224 |
|
|
2225 |
gui_init_colors (); |
gui_init_colors (); |
2328 |
buffer->last_line->line_with_message = 1; |
buffer->last_line->line_with_message = 1; |
2329 |
if (type & MSG_TYPE_HIGHLIGHT) |
if (type & MSG_TYPE_HIGHLIGHT) |
2330 |
buffer->last_line->line_with_highlight = 1; |
buffer->last_line->line_with_highlight = 1; |
2331 |
if ((type & MSG_TYPE_TIME) || (type & MSG_TYPE_NICK)) |
if ((type & MSG_TYPE_TIME) || (type & MSG_TYPE_NICK) || (type & MSG_TYPE_PREFIX)) |
2332 |
buffer->last_line->length_align += length; |
buffer->last_line->length_align += length; |
2333 |
if (type & MSG_TYPE_NOLOG) |
if (type & MSG_TYPE_NOLOG) |
2334 |
buffer->last_line->log_write = 0; |
buffer->last_line->log_write = 0; |
2457 |
if (pos && !pos[1]) |
if (pos && !pos[1]) |
2458 |
pos = NULL; |
pos = NULL; |
2459 |
} |
} |
|
|
|
|
/*wrefresh (buffer->window->win_chat); |
|
|
refresh ();*/ |
|
2460 |
} |
} |
2461 |
else |
else |
2462 |
printf ("%s", buf3); |
printf ("%s", buf3); |