We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ddbe9 commit c031135Copy full SHA for c031135
src/cascadia/TerminalControl/ControlCore.cpp
@@ -2282,7 +2282,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
2282
if (clearType == ClearBufferType::Screen || clearType == ClearBufferType::All)
2283
{
2284
// Erase any viewport contents below (but not including) the cursor row.
2285
- if (viewport.Height() - cursor.y > 0)
+ if (viewport.Height() - cursor.y > 1)
2286
2287
fmt::format_to(std::back_inserter(sequence), FMT_COMPILE(L"\x1b[{};1H\x1b[J"), cursor.y + 2);
2288
}
0 commit comments