FTXUI/include/ftxui/screen
Arthur Sonzogni 8e98928c0c
Support combining characters. (#121)
Modify the ftxui::Pixel. Instead of storing a wchar, store a
std::wstring. Now a single pixel can store multiple codepoints.
If a codepoint is of size <=0, it will be appended to the previous
pixel.

Only ftxui::text() is supported. ftxui::vtext support still needs to be
added.

This causes the following CPU and memory regression:
- Memory: Pixel size increases by 200% (16 byte => 48byte).
- CPU:    Draw/Second decrease by 62.5% (16k draw/s => 6k draw/s on 80x80)

Both regressions are acceptable. There are still two orders of magnitude
(100x) before the levels where performance/memory concerns begins.

This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/109
2021-06-26 01:32:27 +02:00
..
box.hpp Add mouse implementation of most components. 2021-04-18 22:33:41 +02:00
color_info.hpp Use IWYU. 2021-05-01 23:19:07 +02:00
color.hpp Use IWYU. 2021-05-01 23:19:07 +02:00
screen.hpp Support combining characters. (#121) 2021-06-26 01:32:27 +02:00
string.hpp Fix unsigned/signed comparison issues. (#103) 2021-05-18 21:48:32 +02:00
terminal.hpp Improve color handling. (#49) 2020-10-16 22:31:24 +02:00