How is the prompt consistently at the bottom of the screen?
I have been writing an application for a while now and decided that a prompt, like the one in hashcat, could look nice. But then after a day or two I still cannot implement it. I know that it is multi-threaded, but how does it work?
Depends on your OS. The tty_* functions are important to make the console unbuffered.