diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 00d2364c61..e46438c92d 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -395,6 +395,10 @@ static inline const char *ansi_highlight_green(void) { return on_tty() ? ANSI_HIGHLIGHT_GREEN_ON : ""; } +static inline const char *ansi_highlight_yellow(void) { + return on_tty() ? ANSI_HIGHLIGHT_YELLOW_ON : ""; +} + static inline const char *ansi_highlight_off(void) { return on_tty() ? ANSI_HIGHLIGHT_OFF : ""; } |