Console app basics

Hello!

Can someone please explain me, how do console apps work?

I found Termbox app, which lets me manipulate the terminal output. But how can i have an command promt? Like irc client has input field which allows user to instert text…

Also how does the scrollable output work? Output can be scrolled with page up key or something …

Edit:

i found https://github.com/chzyer/readline … if i only could figure out, how to use them together…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.