mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 10:40:00 +08:00
💻 C++ Functional Terminal User Interface. ❤️
5887114793
The goal is to increase the separation in between: * ftxui::screen * ftxui::dom * ftxui::component |
||
---|---|---|
examples | ||
ftxui | ||
.clang-format | ||
CMakeLists.txt | ||
LICENSE | ||
README.md | ||
tutorial.md |
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