Skip to content

Conversation

0rca
Copy link

@0rca 0rca commented Sep 17, 2025

The cursor shader shows its trails even when typing, which makes for a distracting coding experience.

This PR improves this experience by:

  1. hiding trails when cursor jumps only a short distance, configurable with DRAW_THRESHOLD const
  2. optionally hiding trails when the cursor stays on the same line, configurable with HIDE_TRAILS_ON_THE_SAME_LINE const, off by default.

@haunt98
Copy link

haunt98 commented Sep 19, 2025

Looks good @0rca, thanks for sharing

@hackr-sh
Copy link
Owner

I'm going to test this out over the weekend and merge if all looks well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants