When you run the top, you enter an interactive display that is housed in the terminal, yet the command line is gone.
I want to build a program with this type of display, but don't even know what to research.
top
used curses when it was first released, but later switched to its own screen management code because of the overhead associated with curses.
More about top can be read under the following link:
Collectively, what you are looking for falls under the category of TUI (Text-based User Interface).
Most often ncurses is the goto recommendation for someone that wants to incorporate textual representation of "graphics" inside a terminal.
There are however several different alternatives, and I would recommend google for finding a suitable library for you to use. As a start you check out the below listed links:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With