Cursor shaking in oh-my-zsh #11887

Closed
opened 2026-01-31 03:00:12 +00:00 by claunia · 6 comments
Owner

Originally created by @HernandoR on GitHub (Dec 26, 2020).

Environment

Windows build number: [Microsoft Windows NT 10.0.19042.0]
Windows Terminal version (if applicable): 1.4.3243.0

Any other software?
MSYS2  oh-my-zsh  zsh-syntax-highlighting

Steps to reproduce

install and config msys2 in Terminal, install zsh and oh-my-zsh, install and enable zsh-syntax-highlighting plugin. open MSYS2 tab in Terminal, input any letters.

Expected behavior

The cursor should be steadily alone with the inputted letters.

Actual behavior

In the first few letters of any lines,(I guess the plugin is trying to scan whether the command is valid), the cursor will change position to 3 letters front, then change back.

https://user-images.githubusercontent.com/45709656/103154549-f2f85f80-47d2-11eb-9e3e-69cddbcfdd1a.mp4

https://user-images.githubusercontent.com/45709656/103154551-f4c22300-47d2-11eb-80d4-0cb6f381f80e.mp4

close the plugin OR directly use MYSL2 will not reproduce.

Originally created by @HernandoR on GitHub (Dec 26, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [Microsoft Windows NT 10.0.19042.0] Windows Terminal version (if applicable): 1.4.3243.0 Any other software? MSYS2 oh-my-zsh zsh-syntax-highlighting ``` # Steps to reproduce install and config msys2 in Terminal, install zsh and oh-my-zsh, install and enable zsh-syntax-highlighting plugin. open MSYS2 tab in Terminal, input any letters. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> The cursor should be steadily alone with the inputted letters. # Actual behavior <!-- What's actually happening? --> In the first few letters of any lines,(I guess the plugin is trying to scan whether the command is valid), the cursor will change position to 3 letters front, then change back. https://user-images.githubusercontent.com/45709656/103154549-f2f85f80-47d2-11eb-9e3e-69cddbcfdd1a.mp4 https://user-images.githubusercontent.com/45709656/103154551-f4c22300-47d2-11eb-80d4-0cb6f381f80e.mp4 close the plugin OR directly use MYSL2 will not reproduce.
claunia added the Resolution-Duplicate label 2026-01-31 03:00:12 +00:00
Author
Owner

@DHowett commented on GitHub (Dec 26, 2020):

What version of the MSYS2 runtime are you using?

@DHowett commented on GitHub (Dec 26, 2020): What version of the MSYS2 runtime are you using?
Author
Owner

@HernandoR commented on GitHub (Dec 28, 2020):

image

@HernandoR commented on GitHub (Dec 28, 2020): ![image](https://user-images.githubusercontent.com/45709656/103190084-681a8080-490a-11eb-89df-5d1edd9b095f.png)
Author
Owner

@carlos-zamora commented on GitHub (Oct 26, 2022):

/dup #6217

Sorry for the radio silence for so long. We're duplicating this with an earlier issue. This is a new issue.

@carlos-zamora commented on GitHub (Oct 26, 2022): /dup #6217 Sorry for the radio silence for so long. We're duplicating this with an earlier issue. This is a new issue.
Author
Owner

@ghost commented on GitHub (Oct 26, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Oct 26, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@jade-tam commented on GitHub (Mar 3, 2024):

This is not a duplicate of the #6217. This issue happen only when zsh-syntax-highlighting enabled. I'm still getting the issue despite of having the latest version Window Terminal.

@jade-tam commented on GitHub (Mar 3, 2024): This is not a duplicate of the #6217. This issue happen only when zsh-syntax-highlighting enabled. I'm still getting the issue despite of having the latest version Window Terminal.
Author
Owner

@phakeandy commented on GitHub (Nov 5, 2024):

The issue is still occurring in the latest version of Windows Terminal (1.21.2911.0). I agree that it only happens when zsh-syntax-highlighting is enabled. By the way, the cursor doesn't seem to shake in the VSCode terminal.

@phakeandy commented on GitHub (Nov 5, 2024): The issue is still occurring in the latest version of Windows Terminal (1.21.2911.0). I agree that it only happens when zsh-syntax-highlighting is enabled. By the way, the cursor doesn't seem to shake in the VSCode terminal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11887