Skip to content

Commit e97388c

Browse files
authored
Fix SnapOnOutput not always snapping (#19247)
`IsOn` is the blinker on/off state, which `IsVisible` is the actual cursor visibility on/off state. ## Validation Steps Performed * Run bash/zsh in WSL * (Repeatedly) Quickly scroll right and press A-Z * Scrolls to the left ✅
1 parent 1b2aad6 commit e97388c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/screenInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,7 @@ void SCREEN_INFORMATION::SnapOnInput(const WORD vkey)
17201720

17211721
void SCREEN_INFORMATION::_makeCursorVisible()
17221722
{
1723-
if (_textBuffer->GetCursor().IsOn())
1723+
if (_textBuffer->GetCursor().IsVisible())
17241724
{
17251725
MakeCursorVisible(_textBuffer->GetCursor().GetPosition());
17261726
}

0 commit comments

Comments
 (0)