From ec994a4e654ac7a8a85a7be8660377dab56ad63a Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Sun, 21 Aug 2022 23:04:32 +0200 Subject: [PATCH] Add support for emscripten screen resize. (#463) This resolves: https://github.com/ArthurSonzogni/FTXUI/issues/432 --- CHANGELOG.md | 3 ++ examples/index.html | 34 ++++++++++++++++++---- src/ftxui/component/screen_interactive.cpp | 11 +++++++ src/ftxui/screen/terminal.cpp | 5 +++- 4 files changed, 46 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d1e557..0464533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ current (development) requested - Bugfix: Forward the selected/focused area from the child in gridbox. - Bugfix: Fix incorrect Canvas computed dimensions. +- Bugfix: Support `vscroll_indicator` with a zero inner size. ### Component: - Feature: Add the `Modal` component. @@ -20,6 +21,8 @@ current (development) ### Screen - Feature: add `Box::Union(a,b) -> Box` +- Bugfix: Fix resetting `dim` clashing with resetting of `bold`. +- Feature: Add emscripten screen resize support. 3.0.0 ----- diff --git a/examples/index.html b/examples/index.html index c714d54..9245dc8 100644 --- a/examples/index.html +++ b/examples/index.html @@ -4,6 +4,7 @@ FTXUI examples WebAssembly +