FTXUI/include/ftxui
ArthurSonzogni 86c3b60a6f Move the cursor to the input location.
Most CJK users use IME (input method) to type CJK characters. They need
the cursor to be at the correct location, not in the bottom right
corner.

This CL does:
 * Move the cursor the focus() element.
 * Hide the cursor (and show it at exit)
 * Intercept SIGINT to guarantee proper cleanup all the time.

This should fix the second issue mentionned on:
https://github.com/ArthurSonzogni/FTXUI/issues/2
2019-06-29 18:52:58 +02:00
..
component Move the cursor to the input location. 2019-06-29 18:52:58 +02:00
dom Move the cursor to the input location. 2019-06-29 18:52:58 +02:00
screen Move the cursor to the input location. 2019-06-29 18:52:58 +02:00
util Add support for nxxm. 2019-02-02 02:25:06 +01:00
README.md Add support for nxxm. 2019-02-02 02:25:06 +01:00

  • Level 0: terminal output.
  • Level 1: ftxui::Screen
  • Level 2: ftxui::Node
  • Level 3: ftxui::Component

Level 0: terminal output.

The terminal you know, you can append text on it. It is represented by std::cout.

Level 1: ftxui::Screen

A rectangular grid of characters. Use Terminal::ToString() to append its content into the console.

Level 2: ftxui::Node

A hierarchical set of element. They handle layout and Render themself on the screen. See ftxui/dom/elements.hpp

You can make implement your own.

Level 3: ftxui::Component

A hierarchical set of component. A component render itself by producing ftxui::Node in Component::Render().

Some component can handle events: * keyboard * mouse * terminal event

Implement your own!