]> git.ipfire.org Git - thirdparty/systemd.git/commit
terminal-util: output newline at end of "Press any key to proceed" message 36424/head
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2025 21:29:54 +0000 (22:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Feb 2025 08:19:03 +0000 (09:19 +0100)
commit787904d0789f347c49acfad60cb12d63d336d432
tree526778c6fd992fd0cccc7f3d488efd5dae6a652c
parent0e7dd5aa4d716f661afeef23d753992fe7fba5b6
terminal-util: output newline at end of "Press any key to proceed" message

So far we'd leave the cursor at the end of the Press any key to proceed
message as long as the user didn't type in anything yet, and generated
the newline only after.

Let's switch this around: let's output the newline before.

This should make boot-time output nicer since it means concurrent output
while we wait will start at the beginning of line, and not in the middle.
src/basic/terminal-util.c