diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index c9f915a..f48d813 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -144,8 +144,8 @@ void ScreenInteractive::Loop(Component* component) { void ScreenInteractive::Draw(Component* component) { auto document = component->Render(); - int dimx; - int dimy; + int dimx = 0; + int dimy = 0; switch (dimension_) { case Dimension::Fixed: dimx = dimx_;