Console++ 0.1.1
A C++ library for interacting with Consoles streams
Loading...
Searching...
No Matches
Console++

Documentation License GitHub Releases Linux Build status Codacy Badge

Console++ is a small framework for interacting with the console on a character-at-a-time basis. Used together with Terminal++ and Munin, this library can form the foundation of any graphical terminal application.

Requirements

Console++ requires a C++20 compiler and the following libraries:

  • Boost (At least version 1.69.0)
  • (For testing only) Google Test

Installation - CMake

Console++ can be installed from source using CMake. This requires Boost, and any other dependencies to have been installed beforehand, using their own instructions, or for the call to cmake --configure to be adjusted appropriately (e.g. -DBOOST_ROOT=...). If you do not wish to install into a system directory, and thus avoid the use of sudo, you can also pass -DCMAKE_INSTALL_PREFIX=... into the cmake --configure call.

git clone https://github.com/KazDragon/consolepp.git && cd consolepp
mkdir build && cd build
cmake --configure -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --install .

Features / Roadmap / Progress

  1. [x] Basic console handling
    • [x] Reading/writing from/to the console in character mode
    • [x] Queries and callbacks for console size

Status

Console++ is automatically testing with GNU g++ 7.5.