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

Open
opened 5 years ago by suhrke · 1 comments
suhrke commented 5 years ago
Collaborator

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 5 years ago
suhrke added
invalid
and removed
bug
labels 5 years ago
suhrke added the
high priority
label 5 years ago
scuti was assigned by suhrke 5 years ago
Poster
Collaborator

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
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.