diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-14 14:30:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-02-14 14:30:30 +0100 |
commit | c2b32159413aec1dc8162c4423f04ebb6da68476 (patch) | |
tree | a507f34c60e26cb6fb5fe6fafefffdc7bcfc4fb8 /src/basic/terminal-util.h | |
parent | 0295642dda314559c8a5b188b21dbca8a99bf09a (diff) | |
download | systemd-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.h | 1 |
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) { \ |