💻 C++ Functional Terminal User Interface. ❤️
Go to file
ArthurSonzogni a27c878a3f
Mouse support. Fix & verify Webassembly support.
There was some undefined behavior to be fixed in the terminal input
parser.

The behavior of flush seems to have change. The fix was to invert '\0'
and std::flush.
2021-04-25 16:58:16 +02:00
.github Update windows-msvc.yaml 2021-03-21 21:53:25 +01:00
.nxxm Add nxxm suport. 2020-12-21 15:36:04 +01:00
doc Add documentation about ./example/util/print_key_press (#73) 2021-02-13 20:00:00 +01:00
examples Mouse support. Fix & verify Webassembly support. 2021-04-25 16:58:16 +02:00
include/ftxui Mouse support. Fix & verify Webassembly support. 2021-04-25 16:58:16 +02:00
src/ftxui Mouse support. Fix & verify Webassembly support. 2021-04-25 16:58:16 +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 Improve mouse support 2021-04-25 15:22:38 +02: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 Add webassembly support 2021-03-21 23:30:46 +01:00

FTXUI

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.

Operating systems

  • linux-gcc
  • linux-clang
  • linux-emscripten
  • windows-msvc
  • mac-clang

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: