The text is flickering when switching options #20242

Closed
opened 2026-01-31 07:07:51 +00:00 by claunia · 6 comments
Owner

Originally created by @noahyu4882 on GitHub (Jul 15, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

22621.1848

Other Software

npm:git-cz

Steps to reproduce

To submit code using git-cz

Expected Behavior

No response

Actual Behavior

https://github.com/microsoft/terminal/assets/99262845/8c9efab1-c85b-4c9e-b312-c0fd968c8317

Originally created by @noahyu4882 on GitHub (Jul 15, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 22621.1848 ### Other Software npm:git-cz ### Steps to reproduce To submit code using git-cz ### Expected Behavior _No response_ ### Actual Behavior https://github.com/microsoft/terminal/assets/99262845/8c9efab1-c85b-4c9e-b312-c0fd968c8317
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:07:52 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 17, 2023):

Does this repro in a conhost.exe window/?

@zadjii-msft commented on GitHub (Jul 17, 2023): Does this repro in a `conhost.exe` window/?
Author
Owner

@noahyu4882 commented on GitHub (Jul 17, 2023):

Does this repro in a conhost.exe window/?

This is a repro in conhost.exe.

https://github.com/microsoft/terminal/assets/99262845/ea482c85-aa0d-4034-986b-e607a90698fd

Also, I only encountered the issue on a laptop computer.

@noahyu4882 commented on GitHub (Jul 17, 2023): > Does this repro in a `conhost.exe` window/? This is a repro in conhost.exe. https://github.com/microsoft/terminal/assets/99262845/ea482c85-aa0d-4034-986b-e607a90698fd Also, I only encountered the issue on a laptop computer.
Author
Owner

@zadjii-msft commented on GitHub (Jul 17, 2023):

Since this repros in conhost, I'd guess this is an upstream issue with git-cz itself. The way it's redrawing the whole TUI each frame seems... inoptimal. Though that's probably more an issue with whatever lib they're using to draw than anything else.

That being said - what they're outputting here also doesn't look terribly expensive to output. Maybe there's some specific sequence of clear & print they're using that's specifically causing a frame to flush with the screen blanked.

Though, very peculiar that it repros even in conhost directly, on 22621. That makes me think it's not the #14677 bug.

@zadjii-msft commented on GitHub (Jul 17, 2023): Since this repros in conhost, I'd _guess_ this is an upstream issue with `git-cz` itself. The way it's redrawing the whole TUI each frame seems... inoptimal. Though that's probably more an issue with whatever lib they're using to draw than anything else. That being said - what they're outputting here also doesn't look terribly expensive to output. Maybe there's some specific sequence of clear & print they're using that's specifically causing a frame to flush with the screen blanked. Though, very peculiar that it repros even in conhost directly, on 22621. That makes me think it's not the #14677 bug.
Author
Owner

@zadjii-msft commented on GitHub (Jul 17, 2023):

Interestingly enough, I can repro this slightly on 1.18, and not at all on conhost (from 10.0.25903.1000) nor gnome-terminal. I reckon this is probably somehow throughput bound. It shouldn't be for a menu as trivial as this, but might be.

@zadjii-msft commented on GitHub (Jul 17, 2023): Interestingly enough, I can repro this _slightly_ on 1.18, and not at all on conhost (from `10.0.25903.1000`) nor `gnome-terminal`. I reckon this is probably somehow throughput bound. It _shouldn't_ be for a menu as trivial as this, but might be.
Author
Owner

@noahyu4882 commented on GitHub (Jul 17, 2023):

I have installed git-cz on a remote Ubuntu system. When I access and use git-cz via SSH on my desktop computer, it works fine. However, when I access and use git-cz via my laptop computer, I encounter this issue. I have tested this on both two desktop computers and two laptops separately.

@noahyu4882 commented on GitHub (Jul 17, 2023): I have installed git-cz on a remote Ubuntu system. When I access and use git-cz via SSH on my desktop computer, it works fine. However, when I access and use git-cz via my laptop computer, I encounter this issue. I have tested this on both two desktop computers and two laptops separately.
Author
Owner

@noahyu4882 commented on GitHub (Jul 17, 2023):

@zadjii-msft
Perhaps it has something to do with the rendering mechanism of the laptop computer! Nevertheless, thank you for patiently reading through my poor English and responding. Thank you.

@noahyu4882 commented on GitHub (Jul 17, 2023): @zadjii-msft Perhaps it has something to do with the rendering mechanism of the laptop computer! Nevertheless, thank you for patiently reading through my poor English and responding. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20242