mirror of
https://github.com/yoboujon/ftxui_template.git
synced 2025-06-08 13:00:50 +02:00
Fixed an issue with keyboard update when changing screen.
This commit is contained in:
parent
f63c6e83a8
commit
a6d97cd7e5
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ static inline void loop_event(EventHandler &handler, const EventPayload &payload
|
||||||
handler.stop();
|
handler.stop();
|
||||||
else if (payload.type == EventType::SWITCH_SCREEN)
|
else if (payload.type == EventType::SWITCH_SCREEN)
|
||||||
ui.select_screen(std::any_cast<size_t>(payload.data));
|
ui.select_screen(std::any_cast<size_t>(payload.data));
|
||||||
|
ui.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
|
Loading…
Add table
Reference in a new issue