Console Application Input, hints needed :)
Posted: Tue Jan 21, 2020 11:35 am
Hello guys,
I'm writing a console application that will run mostly on Linux shell, I've already implemented a nice library to handle escape sequences for colored text, cursor movements, message boxes, menu, etc... that I will publish when it will be completed.
I'm having a hard time to find a way to wait for a single character without the need to hit the enter key, which is required by the DebugPrompt()/ConsolePrompt() commands.
I've implemented a GridView and hitting enter after every command is very annoying (for example to scroll down the list line by line).
InKeyStr() can't ne used because Hollywood display is closed, this is a console app
Any tips? I'm missing something?
I've thought about opening for input the stdin, but I'm quiet a Linux newby so every hint in that direction is really appreciated
I'm writing a console application that will run mostly on Linux shell, I've already implemented a nice library to handle escape sequences for colored text, cursor movements, message boxes, menu, etc... that I will publish when it will be completed.
I'm having a hard time to find a way to wait for a single character without the need to hit the enter key, which is required by the DebugPrompt()/ConsolePrompt() commands.
I've implemented a GridView and hitting enter after every command is very annoying (for example to scroll down the list line by line).
InKeyStr() can't ne used because Hollywood display is closed, this is a console app
Any tips? I'm missing something?
I've thought about opening for input the stdin, but I'm quiet a Linux newby so every hint in that direction is really appreciated