code-examples/2024/07/ncurses_demo1/README.md

528 B

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)