code-examples/2024/07/ncurses_demo1
End of Line f3563ce6d1 Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00
..
src Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00
.gitignore Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00
CMakeLists.txt Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00
README.md Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00
conanfile.py Adding basic ncurses demo project. 2024-07-08 18:51:42 +02:00

README.md

NCurses Demo1

Installation

python -m venv .venv
source $(readlink -f .venv/bin/activate)
python -m pip install conan
conan install conanfile.py --build=missing
cmake ../../ -DCMAKE_TOOLCHAIN_FILE=generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_VERBOSE_MAKEFILE=true
make

Running

in build/Release run ./ncurses_demo1

Troubleshooting

Sometimes you can issue with opening terminal xterm-* Check TERMINFO if they point correctly or you have properly set ~/.terminfo (you can symlink it)