mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 00:48:23 -06:00
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 ✅
This commit is contained in:
parent
1b2aad6504
commit
e97388cb27
@ -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());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user