mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-05-06 17:21:13 +08:00
Emit a new line when a component is interrupted.
While running a component, make sure to reset the cursor at the end of the component and insert a new line. This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/6
This commit is contained in:
parent
e1efcf2d97
commit
7f0381e30a
@ -111,7 +111,7 @@ void ScreenInteractive::Loop(Component* component) {
|
||||
std::cout << reset_cursor_position;
|
||||
std::cout << SHOW_CURSOR;
|
||||
std::cout << ENABLE_LINE_WRAP;
|
||||
std::cout << std::flush;
|
||||
std::cout << std::endl;
|
||||
});
|
||||
|
||||
// Handle resize.
|
||||
|
Loading…
Reference in New Issue
Block a user