FTXUI

A C++ library for making text based user interface.

Feature

  • Functional style.
  • Simple and elegant syntax (in my opinion).
  • No dependencies.

Example:

  vbox(
    hbox(
      text(L"left") | frame,
      text(L"middle") | frame | flex,
      text(L"right") | frame
    ),
    gauge(0.5) | frame
  )
┌────┐┌───────────────────────────────────────────────────────────────┐┌─────┐
│left││middle                                                         ││right│
└────┘└───────────────────────────────────────────────────────────────┘└─────┘
┌────────────────────────────────────────────────────────────────────────────┐
│██████████████████████████████████████                                      │
└────────────────────────────────────────────────────────────────────────────┘

Tutorial

See Tutorial

Description
Languages
C++ 95.7%
CMake 2.4%
Starlark 1.4%
Nix 0.3%
Shell 0.2%