Status line in C Terminal program

  c++, minicom, status, user-interface

I am running a terminal program written in c/c++ over shell.
It is same like minicom for UART.

I am looking for the way how I can create “Status Line on the bottom” same like attached picture (bottom line of minicom: CTRL-A Z line which is always there as a GUI).
For sure it is not just printf/cout but needed some extended API, I guess.
Has anybody done that? Or may be some idea how to proceed?
enter image description here

Source: Windows Questions C++