xyb3rt/physlock

Allow message to be multiline

f0s3 opened this issue · 1 comments

f0s3 commented

I want my login screen to have this:

Hello
world
Password:

And I could not achieve this for two reasons:

  • Trying -p "Hello\nworld" doesn't add newline char
  • There is an empty newline between world and Password: which I couldn't remove
-p "Hello
world"

should fix point one. The newline addressed in point two is intentional, because the message is not part of the password prompt.