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

Öppen
öppnade 2 år sedan av suhrke · 1 kommentarer
suhrke kommenterad 2 år sedan

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 år sedan
suhrke added the
invalid
label 2 år sedan
suhrke removed the
bug
label 2 år sedan
suhrke added the
high priority
label 2 år sedan
scuti blev tilldelad denna av suhrke 2 år sedan
suhrke kommenterad 2 år sedan
Skapare

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.
Logga in för att delta i denna konversation.
Ingen Milsten
No Assignees
1 Deltagare
Förfallodatum

Inget förfallodatum satt.

Beroenden

This issue currently doesn't have any dependencies.

Laddar…
Avbryt
Spara
Det finns inget innehåll än.