3 ms·
> For example, it fetched rpassword, a tool that hides password characters as you type them into a terminal, much like Python's getpass function. I want to not
by 1f60c 6y ago
> For example, it fetched rpassword, a tool that hides password characters as you type them into a terminal, much like Python's getpass function.
I want to note that you can call actual C functions from D without much extra effort.
Here’s a program that calls getpass: https://glot.io/snippets/fqf04b6wg2 https://glot.io/snippets/fqf04b6wg2
- Scroph 6y agoThanks! I added it in this PR: https://github.com/azihassan/hashtrack-client/pull/11 https://github.com/azihassan/hashtrack-client/pull/11
- 1f60c 6y agoOh, oops. I forgot to edit my comment to add that, for some reason, it doesn’t seem work on macOS. But if that’s not a problem for you, then I’m happy I could help. Edit: I just read the code, and it seems like you found out about that before I could warn you. :)
- Scroph 6y agoI didn't know actually, I only did it so that it would also compile on Windows (which I haven't tested yet tbh). Good to know it would still compile on macOS