From e97388cb27ce89c985d43b8c96ddb14ac7d5307f Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Fri, 15 Aug 2025 22:34:29 +0200 Subject: [PATCH] Fix SnapOnOutput not always snapping (#19247) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 ✅ --- src/host/screenInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/screenInfo.cpp b/src/host/screenInfo.cpp index ee196a5f2f..3482b77780 100644 --- a/src/host/screenInfo.cpp +++ b/src/host/screenInfo.cpp @@ -1720,7 +1720,7 @@ void SCREEN_INFORMATION::SnapOnInput(const WORD vkey) void SCREEN_INFORMATION::_makeCursorVisible() { - if (_textBuffer->GetCursor().IsOn()) + if (_textBuffer->GetCursor().IsVisible()) { MakeCursorVisible(_textBuffer->GetCursor().GetPosition()); }