#30 getpass() unavailable in Windows, deprecated in linux

Open
opened 2 years ago by suhrke · 1 comments
suhrke commented 2 years ago

Linux: Recommend to toggle print typed input to screen manually, get the string, reset output settings, and clean up. Windows: https://docs.microsoft.com/en-us/windows/console/getconsolemode

Linux: Recommend to toggle print typed input to screen manually, get the string, reset output settings, and clean up. Windows: https://docs.microsoft.com/en-us/windows/console/getconsolemode
suhrke added the
bug
label 2 years ago
suhrke added the
invalid
label 2 years ago
suhrke removed the
bug
label 2 years ago
suhrke added the
high priority
label 2 years ago
scuti was assigned by suhrke 2 years ago
suhrke commented 2 years ago
Poster

I like that 6ff2fd7fe6 is crossplatform but don’t like that the cursor still shows how long the inputted password is. Tell me what you think and close if you think this is an acceptable solution.

I like that https://git.teknik.io/scuti/paperback-cli/commit/6ff2fd7fe622d23f86338c0758a336ade3aa136a is crossplatform but don't like that the cursor still shows how long the inputted password is. Tell me what you think and close if you think this is an acceptable solution.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.