FTXUI/examples/dom
Arthur Sonzogni 406355df8c
Fix parsing of keys that are prefix of others. (#58)
The ESC key generates sequences that are prefix of others. For instance:
- ESC => [27]
- F1 =>  [27, 79, 8]

As a result, we can't generate the ESC event when receiving [27],
because it might be the start of the [27, 79, 8] sequence (or not).

Application usually applies a timeout to help detecting the ESC key.
This patch introduce a timeout. It is set to 50ms.

Bug: https://github.com/ArthurSonzogni/FTXUI/issues/55
2020-10-25 01:57:56 +02:00
..
border.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
CMakeLists.txt Add more example for colors. 2020-09-07 11:25:50 +02:00
color_gallery.cpp Improve color handling. (#49) 2020-10-16 22:31:24 +02:00
color_info_palette256.cpp Improve color handling. (#49) 2020-10-16 22:31:24 +02:00
color_info_sorted_2d.ipp Fix parsing of keys that are prefix of others. (#58) 2020-10-25 01:57:56 +02:00
color_truecolor_HSV.cpp Improve color handling. (#49) 2020-10-16 22:31:24 +02:00
color_truecolor_RGB.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
dbox.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
gauge.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
graph.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
hflow.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
html_like.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
package_manager.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
paragraph.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
separator.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
size.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
spinner.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_blink.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_bold.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_color.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_dim.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_gallery.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_inverted.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
style_underlined.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
vbox_hbox.cpp Automatically fix style. 2020-09-07 11:25:50 +02:00
window.cpp Improve color handling. (#49) 2020-10-16 22:31:24 +02:00