Skip to content

More discrete alternative to pwfeedback #536

Description

@o-alquimista

As an alternative to sequential asterisks (******) that are easier for others to count, what if we had something similar to e.g. swaylock:

Screenshot of 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.

Screenshot of swaylock with Cleared message

Since sudo is a command-line program, maybe we could "spin" a character:

|
/
—
\
|

Or display one random character for every keypress.

#
!
(
5
~
`
e

(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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions