Skip to content

Commit

Permalink
Fix default for ScreenInteractive::Fullscreen()
Browse files Browse the repository at this point in the history
It was intended to open gthe alternate screen.
  • Loading branch information
ArthurSonzogni committed Dec 26, 2024
1 parent d6918c6 commit 4dd9d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ftxui/component/screen_interactive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ ScreenInteractive ScreenInteractive::FixedSize(int dimx, int dimy) {
/// @note This is the same as `ScreenInteractive::FullscreenAlternateScreen()`
// static
ScreenInteractive ScreenInteractive::Fullscreen() {
return FullscreenPrimaryScreen();
return FullscreenAlternateScreen();
}

/// @ingroup component
Expand Down

0 comments on commit 4dd9d4b

Please sign in to comment.