-
-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blinking cursor is broken on transparent background #3886
Comments
Have you considered using https://wezfurlong.org/wezterm/config/lua/config/force_reverse_video_cursor.html ? |
Just tried it now and it didn't really helped. Reading the description, I don't think it should as it mentions it only changes what the cursor uses for it's foreground and background colors, which only matter when the cursor is showing up but problem are the colors when it's blinked out. |
I can confirm that with the settings default cursor_style = "BlinkingBlock" and window_background_opacity = 0.5 the cursor is made background color and not transparent. Also use the settings force_reverse_video_cursor = true , and force_reverse_video_cursor = false and the problem persists it never becomes transparent only black weztermtest.mp4 |
Same issue here. When it blinks the cursor's background color changes to the color of the background instead of turning transparent. |
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
Tried on Mutter and Awesome.
WezTerm version
20230408-112425-69ae8472 and 20230619-104421-c1f49509 (nightly)
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
The cursor isn't actually blinking, it's just switching colors from
cursor_bg
tobackground
and it becomes visible when you set a transparent background or a background image. It's easier to notice on block styled cursors but it's the case with all cursors.To Reproduce
Just set a cursor style to any blinking one and either set your
window_background_image
to some image orwindow_background_opacity
to anything smaller than 1. You just need a background that can contrast from whatever's setup as yourbackground
color.Configuration
Expected Behavior
The cursor should switch from being visible to being invisible, as in, render the cell as it if the cursor wasn't there instead of just coloring the cursor
background
.If this is intentional, there should at least be an option to make it work like this.
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: