hashcat Forum
How is the prompt consistently at the bottom of the screen? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: How is the prompt consistently at the bottom of the screen? (/thread-7623.html)



How is the prompt consistently at the bottom of the screen? - jxy7 - 06-29-2018

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?


RE: How is the prompt consistently at the bottom of the screen? - atom - 06-30-2018

Depends on your OS. The tty_* functions are important to make the console unbuffered.