As an alternative to sequential asterisks (******) that are easier for others to count, what if we had something similar to e.g. swaylock:
Sway uses a circle that changes randomly as you type or delete characters.
When all characters have been deleted, it displays a "Cleared" message.
Since sudo is a command-line program, maybe we could "spin" a character:
Or display one random character for every keypress.
(to be clear: only one character would be displayed at a time)
To me, the most confusing aspect of "echo off" appears when I make a typo and have to hold Backspace to delete everything and start over. There is no "cleared" feedback to let you know when you've deleted the last character. To indicate such event on the command-line, I would delete/hide the feedback character, leaving the prompt blank until the first character is typed.
As an alternative to sequential asterisks (******) that are easier for others to count, what if we had something similar to e.g. swaylock:
Sway uses a circle that changes randomly as you type or delete characters.
When all characters have been deleted, it displays a "Cleared" message.
Since sudo is a command-line program, maybe we could "spin" a character:
Or display one random character for every keypress.
(to be clear: only one character would be displayed at a time)
To me, the most confusing aspect of "echo off" appears when I make a typo and have to hold Backspace to delete everything and start over. There is no "cleared" feedback to let you know when you've deleted the last character. To indicate such event on the command-line, I would delete/hide the feedback character, leaving the prompt blank until the first character is typed.