message: Fixes applying wrong page size to main display.
diff: @@ -1722,7 +1722,8 @@ void Terminal::applyPageSizeToMainDisplay(ScreenType screenType)
  auto cursorPosition = state_.cursor.position;
  auto const statusLineHeight = LineCount(1);
  - auto const mainDisplayPageSize = state_.statusDisplayType == StatusDisplayType::None
  + auto const mainDisplayPageSize =
  + (state_.statusDisplayType == StatusDisplayType::None || state_.screenType != screenType)
  ? settings_.pageSize
  : settings_.pageSize - statusLineHeight;
  