Custom spinners #7828
Replies: 5 comments
-
OT: I'd suggest you set |
Beta Was this translation helpful? Give feedback.
-
I already have that, but I find the spinner useful as a "thinking..." indicator. Also for aesthetic reasons. |
Beta Was this translation helpful? Give feedback.
-
I don't think these need to be configured . The spinner is just supposed to indicate that work is being done in the background (so it's clear the server is still working and hasn't crashed). The spinners are not even continuously animated) so it probably wound't look that good anyway. We try to avoid adding too many config options and in this case the default is good enough to hardcode IMO. |
Beta Was this translation helpful? Give feedback.
-
I can certainly agree it's not worth it if the spinner isn't even continuous. Was that a design decision, or just not worth the effort? |
Beta Was this translation helpful? Give feedback.
-
Not worth the extra overhead and battery life cost. This could be made more performant by allowing partial invalidation in the rendering cise but that's a lot of work |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm tired of the default braille LSP spinner. I want a custom one.
Just a configuration option that lets me input a list of strings to cycle through.
I'd settle for one character spinners
Better would be arbitrary length spinners (allowing stuff like a braille dot doing a figure-8 through 3 braille characters)
Even better would be somehow incorporating colors into it. (Maybe similar to how colors are printed in zsh themes?)
Looks not too difficult to implement (if I'm not already missing an existing configuration option for it)
Relevant code I could find:
helix/helix-term/src/ui/spinner.rs
Line 14 in bc73740
helix/helix-term/src/ui/spinner.rs
Line 49 in bc73740
helix/helix-term/src/ui/editor.rs
Line 73 in bc73740
Might implement it myself.
Beta Was this translation helpful? Give feedback.
All reactions