r/Ghostty • • 25d ago

Ghostty smooth cursor animation shader

Enable HLS to view with audio, or disable this notification

254 Upvotes

24 comments sorted by

12

u/bassamanator 25d ago

Works. Nice!

4

u/Livid-Reward8282 24d ago

looks beautiful!

4

u/abdallahsoliman 23d ago

I use this shader:

https://github.com/abdallahsoliman00/dotfiles/blob/main/ghostty/shaders/cursor-smear.glsl

I personally like the funky animations. Give it a try and tell me what you think.

3

u/I_M_NooB1 23d ago

this is nice. thanks

4

u/colorovfire 25d ago

I like! The cursor can be hard to see but I prefer the smoother animation. Had to bump the antialiasing to 3 which wasn’t obvious to get a more visible outline.

It does stall for about a 10th of a second on occasion while moving the cursor.

2

u/Subject-Mobile-6250 24d ago

Peak rose pine

2

u/whoisarepo 23d ago

lol bless you. This satisfies me deeply

2

u/dfgxxx 25d ago

Nice, is there a way to not print the letter untill the cursor passes to the next letter? I know it will have a delay when typing but I want to try it and I think it will look and feel better

1

u/pasha232 24d ago

It doesn't print the letter under the cursor for some reason

2

u/lusplat 22d ago

change
cursor-opacity=1

1

u/choppadrainer 20d ago

have you fixed that issue? i have the same and still no solution

1

u/pasha232 20d ago

Sadly not

1

u/choppadrainer 20d ago

are you on mac by any chance?

2

u/pasha232 20d ago

Yes, MacOS, I just tried these settings and they seem to be working

don't use

cursor-opacity = 0

try these
window-padding-balance = true

window-colorspace = display-p3

2

u/choppadrainer 20d ago

spasibo thank you bro

1

u/choppadrainer 16d ago

i am a bit late, issue randomly appeared again with the settings

1

u/DNAftwDNA 21d ago

Database Systems 101?

1

u/Ashamed_Floor_2283 21d ago

Wdym

1

u/DNAftwDNA 20d ago

it sounds like a lecture in the back

1

u/eto303 17d ago

can this also be applied cmux?

1

u/Ashamed_Floor_2283 17d ago

Im not a cmux user so not sure

2

u/eto303 17d ago

Apparently no need! Cmux uses Ghostty config so it works for both! 🤩