More discrete alternative to pwfeedback
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 46/100
Research direction
Start by reading how sudo currently handles password input and echo-off feedback; the issue does not name files, tests, or entry points, so locate that code in the repository first. Compare the proposed single changing character with the current feedback behavior. Done means the feedback avoids revealing password length and gives a blank prompt after Backspace deletes the final character.
Written by the indexing model from the issue text.
Description
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.
#
!
(
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.
- Dominant language
- C
- Stars
- 1.7k
- Forks
- 306
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 24
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sudo-project/sudo
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
sudo-project/sudo#583 ·
Maintainers usually reply within 1 day
-
Signal forwarded to the command is lost when it arrives between fork() and execve() of the commandOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sudo-project/sudo#566 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
sudo-project/sudo#553 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
sudo-project/sudo#552 ·
Maintainers usually reply within 1 day
-
Documentation text overflows container instead of wrappingMay be free again @BittuBarnwal7479 claimed this 130 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
sudo-project/sudo#547 · 1 comment ·
Maintainers usually reply within 1 day
All issues in sudo-project/sudo
Similar issues
-
vim.filetype.match() prefixes a URL buffer name with the cwd before passing it to filetype functionsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
stream_curl: retry_count never resets after a successful reconnect, so long sequential streams die after 5 dropsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
mpv-player/mpv#18728 ·
Maintainers usually reply within 1 day
-
followup Prio 📌
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cyrusimap/cyrus-imapd#6640 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
Maintainers usually reply within 1 day