adds colors to log_sent_w
This commit is contained in:
parent
f211313cd5
commit
5fcf47d77a
2 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,10 @@ Curses::Curses() {
|
||||||
log_sent_w = newwin(log_sent_w_lines, log_sent_w_columns,
|
log_sent_w = newwin(log_sent_w_lines, log_sent_w_columns,
|
||||||
0, cmd_kbd_columns + 1);
|
0, cmd_kbd_columns + 1);
|
||||||
log_line_number = log_sent_w_lines - 1;
|
log_line_number = log_sent_w_lines - 1;
|
||||||
|
wattron(log_sent_w, A_BOLD);
|
||||||
|
start_color();
|
||||||
|
init_pair(1, COLOR_RED, COLOR_BLACK);
|
||||||
|
wattron(log_sent_w, COLOR_PAIR(1));
|
||||||
|
|
||||||
scrollok(log_sent_w, TRUE);
|
scrollok(log_sent_w, TRUE);
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ class Curses
|
||||||
static const int log_sent_w_columns;
|
static const int log_sent_w_columns;
|
||||||
int log_line_number;
|
int log_line_number;
|
||||||
WINDOW* log_sent_w;
|
WINDOW* log_sent_w;
|
||||||
|
WINDOW* log_sent_title;
|
||||||
|
|
||||||
static const int nav_data_lines;
|
static const int nav_data_lines;
|
||||||
static const int nav_data_columns;
|
static const int nav_data_columns;
|
||||||
|
|
Loading…
Reference in a new issue