💻 C++ Functional Terminal User Interface. ❤️
Go to file
Vedant Paranjape afd53e0508
Compilation failed if ftxui was used in projects that were not git repositories. Since, in CMakeLists.txt working directory to execute command was (#61)
set as the parent directory and not the FTXUI project directory.

* Changed the working directory variable to ${CMAKE_CURRENT_SOURCE_DIR}, so as to get the version of FTXUI and not that of parent project
2020-11-14 15:00:38 +01:00
.github Add FUNDING.yml 2020-06-28 16:07:08 +02:00
doc Improve color handling. (#49) 2020-10-16 22:31:24 +02:00
examples Fix parsing of keys that are prefix of others. (#58) 2020-10-25 01:57:56 +02:00
include/ftxui Fix parsing of keys that are prefix of others. (#58) 2020-10-25 01:57:56 +02:00
src/ftxui Fix parsing of keys that are prefix of others. (#58) 2020-10-25 01:57:56 +02:00
tools Automatically fix style. 2020-09-07 11:25:50 +02:00
.clang-format Variou details: 2020-08-28 23:54:25 +02:00
.gitlab-ci.yml Add gitlab-ci.yml 2019-02-02 02:32:42 +01:00
.travis.yml Fix travis on Windows with gtests. 2020-04-17 00:59:05 +02:00
CMakeLists.txt Compilation failed if ftxui was used in projects that were not git repositories. Since, in CMakeLists.txt working directory to execute command was (#61) 2020-11-14 15:00:38 +01:00
ftxui-config.cmake.in add dependency to Threads into generated cmake config (#52) 2020-10-16 22:07:30 +02:00
LICENSE Add LICENSE. Add take_any_args. 2019-01-06 16:14:19 +01:00
README.md Update README.md 2020-09-06 13:53:33 +02:00

FTXUI

travis issues license contributors

Functional Terminal (X) User interface

A simple C++ library for terminal based user interface.

Demo:

Demo image

Feature

  • Functional style. Inspired by [1] and React
  • Simple and elegant syntax (in my opinion).
  • Support for UTF8 and fullwidth chars (→ 测试)
  • No dependencies.
  • Cross platform (mostly). Linux (main target), Windows (experimental), Mac.

Example:

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

Documentation:

Project using FTXUI

Feel free to add your projects here:

Hosted on: