diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config/theme.c | 1 | ||||
-rw-r--r-- | src/config/theme.h | 1 | ||||
-rw-r--r-- | src/ui/window.c | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index 15bb6c8e..ac077b27 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -677,6 +677,7 @@ theme_attrs(theme_item_t attrs) // get forground colour switch (attrs) { case THEME_TEXT: _theme_prep_fgnd("main.text", lookup_str, &bold); break; + case THEME_TEXT_HISTORY: _theme_prep_fgnd("main.text.history", lookup_str, &bold); break; case THEME_TEXT_ME: _theme_prep_fgnd("main.text.me", lookup_str, &bold); break; case THEME_TEXT_THEM: _theme_prep_fgnd("main.text.them", lookup_str, &bold); break; case THEME_SPLASH: _theme_prep_fgnd("main.splash", lookup_str, &bold); break; diff --git a/src/config/theme.h b/src/config/theme.h index 5f68dd0f..cdf6233a 100644 --- a/src/config/theme.h +++ b/src/config/theme.h @@ -135,6 +135,7 @@ typedef enum { THEME_BLACK_BOLD, THEME_MAGENTA, THEME_MAGENTA_BOLD, + THEME_TEXT_HISTORY, } theme_item_t; void theme_init(const char *const theme_name); diff --git a/src/ui/window.c b/src/ui/window.c index 80074fc3..49164769 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1155,9 +1155,9 @@ win_print_history(ProfWin *window, GDateTime *timestamp, const char *const messa GString *fmt_msg = g_string_new(NULL); g_string_vprintf(fmt_msg, message, arg); - buffer_append(window->layout->buffer, '-', 0, timestamp, NO_COLOUR_DATE, THEME_DEFAULT, "", fmt_msg->str, NULL); + buffer_append(window->layout->buffer, '-', 0, timestamp, 0, THEME_TEXT_HISTORY, "", fmt_msg->str, NULL); + _win_print(window, '-', 0, timestamp, 0, THEME_TEXT_HISTORY, "", fmt_msg->str, NULL); - _win_print(window, '-', 0, timestamp, NO_COLOUR_DATE, THEME_DEFAULT, "", fmt_msg->str, NULL); inp_nonblocking(TRUE); g_date_time_unref(timestamp); |