💻 C++ Functional Terminal User Interface. ❤️
Go to file
jdfa af4bf379bc
Swapped order of hidding cursor and setting alternative screen (#75)
On some terminal, going to the alternative screen disable cursor hiding.
 Swap of those commands fixed that issue.

Co-authored-by: d <d>
2021-03-16 09:46:02 +01:00
.github Add FUNDING.yml 2020-06-28 16:07:08 +02: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 Fix parsing of keys that are prefix of others. (#58) 2020-10-25 01:57:56 +02:00
include/ftxui Add documentation about ./example/util/print_key_press (#73) 2021-02-13 20:00:00 +01:00
src/ftxui Swapped order of hidding cursor and setting alternative screen (#75) 2021-03-16 09:46:02 +01: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 Build with -Wmissing-declarations (#71) 2021-02-11 00:45:42 +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 2021-02-14 19:39:22 +01: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: