Create TUI apps with C++ and TermOx
To create graphical programs in Terminal more easily.
This project was formerly called CPPurses, but the name has been changed to TermOx.
Make sure you have the following software and libraries installed on your system:
Then clone the project and build:
Before installing also build the demos.
If your system is in a language other than US English, run this command first:
Now build the demos:
Try the demos
A menu with the examples will open, navigate using the up and down arrow keys and select by pressing Enter. To return to the menu press ESC and to close the demos press Ctrl + c .
And finally install on your system:
Creating a Hello, World
Create a project directory in it, example:
mkdir myapp && cd myapp.
Now also create an example file
main.cpp and insert the content below:
And to build use CMake and create a
nvim CMakeLists.txt and insert the content below:
Now copy TermOx to your project:
Create a build directory and build:
And test your Hello, World:
It’s like a mini text editor, feel free to use it:
Press Ctrl +c to exit.
For more documentation visit the repository .