Nocterm is a terminal user interface library for basic needs, designed to be used with C/C++. It is expected to evolve and improve in time. New widgets will be added when there is a need.
Nocterm headers and library are installed to /usr/share/include and /usr/share/lib respectively.
git clone https://github.com/technicaluserx/nocterm.git
cd nocterm
./configure --targets=nocterm
make
sudo make installTo uninstall:
sudo make uninstall
After installation, one can include Nocterm's main header and link the program against the static library.
Simple C Application:
Open a new source file main.c:
#include <nocterm/nocterm.h>
int main(){
nocterm_widget_t* my_widget = nocterm_widget_new(10,10, NOCTERM_WIDGET_FOCUSABLE_YES, NOCTERM_WIDGET_TYPE_REAL);
nocterm_page_t* main_page = nocterm_page_new("Main page", sizeof("Main page"), my_widget);
nocterm_page_stack_push(main_page);
nocterm_init();
nocterm_loop();
nocterm_end();
nocterm_widget_delete(my_widget);
nocterm_page_delete(main_page);
return 0;
}Link it with:
gcc main.c -lnocterm -o hello_noctermTo run your program:
./hello_noctermPlease refer to documentation for more information about using the Nocterm library

