summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-14 14:30:30 +0100
committerLennart Poettering <lennart@poettering.net>2018-02-14 14:30:30 +0100
commitc2b32159413aec1dc8162c4423f04ebb6da68476 (patch)
treea507f34c60e26cb6fb5fe6fafefffdc7bcfc4fb8 /src/basic/terminal-util.h
parent0295642dda314559c8a5b188b21dbca8a99bf09a (diff)
downloadsystemd-c2b32159413aec1dc8162c4423f04ebb6da68476.tar.gz
systemd-c2b32159413aec1dc8162c4423f04ebb6da68476.tar.bz2
systemd-c2b32159413aec1dc8162c4423f04ebb6da68476.zip
tty-ask-password-agent: reenable color for boot-time password prompt
The password prompt used to be highlighted, and that was a good thing. Let's fix things to make the prompt highlighted again. Fixes: #3853
Diffstat (limited to 'src/basic/terminal-util.h')
-rw-r--r--src/basic/terminal-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
index 9a060f5c59..470892d38b 100644
--- a/src/basic/terminal-util.h
+++ b/src/basic/terminal-util.h
@@ -106,6 +106,7 @@ bool on_tty(void);
bool terminal_is_dumb(void);
bool colors_enabled(void);
bool underline_enabled(void);
+bool dev_console_colors_enabled(void);
#define DEFINE_ANSI_FUNC(name, NAME) \
static inline const char *ansi_##name(void) { \