]> git.ipfire.org Git - thirdparty/systemd.git/commit
terminal-util: tweak any_key_to_proceed() a bit
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2025 08:35:51 +0000 (09:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2025 14:07:38 +0000 (15:07 +0100)
commit8fcd85768beef5382fb4cb238148889c0b7eee4b
tree3b594fadbbc76f4bbdebbdc1f6f16c52c89621d1
parent4ba044ebd0acb6841a5d6957e4258e921efaaf4d
terminal-util: tweak any_key_to_proceed() a bit

1. Make the message a bit more visible, by adding ANSI color. This
   matters in particular during boot, where the message otherwise might
   be overprinted by other output

2. Let's turn off terminal echo so that whatever key is entered is not
   made visible on screen, and we can handle newline and other keys
   reasonably uniformly.
src/basic/terminal-util.c
src/basic/terminal-util.h
src/cgtop/cgtop.c
src/firstboot/firstboot.c
src/home/homectl.c
src/journal/bsod.c
src/test/test-terminal-util.c