Animated trail-effect for the text cursor in Ghostty terminal.
This repository currently features a Boo-Cursor shader designed to make it easier to track rapid cursor movement in general CLI use and editors like Vim/Neovim. Similar in look to the classic Neovide, this effect is tuned to feel smooth, snappy and straight to the point.
boo-cursor.mp4
Note
If you are using the Line cursor (default in Ghostty), the effects from this shader will freeze when you unfocus the terminal as the cursor becomes a hollow block). You can prevent this by adding custom-shader-animation = always in your Ghostty config.
- Clone the repo into your
~/.config/ghostty/shadersdirectory:
git clone https://github.com/hced/ghostty-cursor-trails ~/.config/ghostty/shaders- Enable it by adding this line in your
~/.config/ghostty/config:
custom-shader = shaders/ghostty-cursor-trails/boo-cursor.glsl
# ...
- Activate it by running this command line (Linux; use equivalent command for macOS/Windows):
systemctl reload --user app-com.mitchellh.ghostty.service # reload Ghostty configInspired by Neovide cursor animations and partly derived from ghostty-cursor-shaders.
MIT