Introduce Loop. (#476)

It can be used to give developers a better control on the loop. Users
can use it not to take full control of the thread, and poll FTXUI from
time to time as part of an external loop.

This resolves: https://github.com/ArthurSonzogni/FTXUI/issues/474
This commit is contained in:
Arthur Sonzogni
2022-10-18 21:29:27 +02:00
committed by GitHub
parent 26d63bc56f
commit 0acfd8f255
9 changed files with 273 additions and 79 deletions

View File

@@ -20,6 +20,10 @@ current (development)
- multiple directions.
- multiple colors.
- various values (value, min, max, increment).
- Feature: Define `ScreenInteractive::Exit()`.
- Feature: Add `Loop` to give developers a better control on the main loop. This
can be used to integrate FTXUI into another main loop, without taking the full
control.
- Feature: `Input` supports CTRL+Left and CTRL+Right
- Improvement: The `Menu` keeps the focus when an entry is selected with the
mouse.