GNU/Linux xterm-termite zsh 297 views

Testing a text terminal thing using curses on C++, with a scrolling text demo.

Basically trm.bfr_push("text") will move everything on the fixed size text stack/buffer (a string array) to the next position and push the string to the first position. trm.update() will clear the window and for each entry in the buffer print it and move to the above line (the buffer size is the number of rows of the window);