Ttibsi / rawterm

C++20 library for building TUI applications
MIT License
6 stars 3 forks source link

rawterm

A c++20 library for working with raw mode in a terminal. See the examples/ directory for examples on how to use this library, and each header file in rawterm/ has a relevant markdown file in docs/ when relevant

See examples/hello_world.cpp for a simple place to start.

How to use

As of v4.0.0, rawterm can be imported with cmake fetchcontent. Add the following passage to your CMakeLists.txt file then link to the rawterm library using target_link_libraries

include(FetchContent)
fetchcontent_declare(
  rawterm
  GIT_REPOSITORY https://github.com/ttibsi/rawterm
  GIT_TAG        25989a41742bd4105a796c9607bb88260cd682fb
)
fetchcontent_makeavailable(rawterm)

Alternatively, if you use zig as your build system, you can run

zig fetch --save=rawterm git+https://github.com/ttibsi/rawterm

This has only been tested with zig 0.13.0

New in version: 4.0.0

Be Aware Of:

Projects Using Rawterm

Feel free to add any projects written using rawterm to this list via PR!