mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Commented bold styles
This commit is contained in:
parent
d47dd2cb83
commit
69e7579aec
@ -61,7 +61,7 @@ void create_input_window(void)
|
|||||||
inp_win = newwin(1, cols, rows-1, 0);
|
inp_win = newwin(1, cols, rows-1, 0);
|
||||||
wbkgd(inp_win, COLOR_PAIR(1));
|
wbkgd(inp_win, COLOR_PAIR(1));
|
||||||
keypad(inp_win, TRUE);
|
keypad(inp_win, TRUE);
|
||||||
wattrset(inp_win, A_BOLD);
|
// wattrset(inp_win, A_BOLD);
|
||||||
wmove(inp_win, 0, 1);
|
wmove(inp_win, 0, 1);
|
||||||
wrefresh(inp_win);
|
wrefresh(inp_win);
|
||||||
}
|
}
|
||||||
|
12
windows.c
12
windows.c
@ -396,7 +396,7 @@ static void _create_windows(void)
|
|||||||
_wins[0] = cons;
|
_wins[0] = cons;
|
||||||
_cons_win = _wins[0].win;
|
_cons_win = _wins[0].win;
|
||||||
|
|
||||||
wattrset(_cons_win, A_BOLD);
|
// wattrset(_cons_win, A_BOLD);
|
||||||
_win_show_time(_cons_win);
|
_win_show_time(_cons_win);
|
||||||
if (prefs_get_showsplash()) {
|
if (prefs_get_showsplash()) {
|
||||||
_print_splash_logo(_cons_win);
|
_print_splash_logo(_cons_win);
|
||||||
@ -416,7 +416,7 @@ static void _create_windows(void)
|
|||||||
wbkgd(chat.win, COLOR_PAIR(1));
|
wbkgd(chat.win, COLOR_PAIR(1));
|
||||||
chat.y_pos = 0;
|
chat.y_pos = 0;
|
||||||
chat.paged = 0;
|
chat.paged = 0;
|
||||||
wattrset(chat.win, A_BOLD);
|
// wattrset(chat.win, A_BOLD);
|
||||||
scrollok(chat.win, TRUE);
|
scrollok(chat.win, TRUE);
|
||||||
_wins[i] = chat;
|
_wins[i] = chat;
|
||||||
}
|
}
|
||||||
@ -497,9 +497,9 @@ static void _win_show_user(WINDOW *win, const char * const user, const int colou
|
|||||||
|
|
||||||
static void _win_show_message(WINDOW *win, const char * const message)
|
static void _win_show_message(WINDOW *win, const char * const message)
|
||||||
{
|
{
|
||||||
wattroff(win, A_BOLD);
|
// wattroff(win, A_BOLD);
|
||||||
wprintw(win, "%s\n", message);
|
wprintw(win, "%s\n", message);
|
||||||
wattron(win, A_BOLD);
|
// wattron(win, A_BOLD);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _current_window_refresh(void)
|
static void _current_window_refresh(void)
|
||||||
@ -539,7 +539,7 @@ static void _show_status_string(WINDOW *win, const char * const from,
|
|||||||
wattron(win, COLOR_PAIR(2));
|
wattron(win, COLOR_PAIR(2));
|
||||||
} else {
|
} else {
|
||||||
wattron(win, COLOR_PAIR(5));
|
wattron(win, COLOR_PAIR(5));
|
||||||
wattroff(win, A_BOLD);
|
// wattroff(win, A_BOLD);
|
||||||
}
|
}
|
||||||
|
|
||||||
wprintw(win, "%s %s", pre, from);
|
wprintw(win, "%s %s", pre, from);
|
||||||
@ -558,7 +558,7 @@ static void _show_status_string(WINDOW *win, const char * const from,
|
|||||||
wattroff(win, COLOR_PAIR(2));
|
wattroff(win, COLOR_PAIR(2));
|
||||||
} else {
|
} else {
|
||||||
wattroff(win, COLOR_PAIR(5));
|
wattroff(win, COLOR_PAIR(5));
|
||||||
wattron(win, A_BOLD);
|
// wattron(win, A_BOLD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user