Is it possible to display on several windows of the terminal within the framework of one program in C?

Basically what I would like to do is to have two output terminal windows for one program. A log of the actions performed by the program will be displayed, and the second will display something like a table of values. All output for these terminals will be generated by the program itself. Can this be done in C using stdio?

I understand that this is probably something more suitable for GUI or ncurses, but I'm still wondering if this can be done independently.

Edit: It may also be worth mentioning that I am doing this on linux (specifically for xubuntu).

+5
source share
1 answer

, Linux /dev/pts - , tty, /dev/pts/<n> .

+7

All Articles