Conversation
The first `indexter init` on an interactive terminal plays a ~1.2 s logo animation on stderr (gradient, a sweeping glint, twinkling sparkles), then leaves a still header with the version. It is skipped for --quiet, reindex, an already-indexed repository, and any stderr that is not a terminal wide and tall enough to hold it; NO_COLOR prints the still header unanimated. The art is indexter.png box-sampled to quadrant characters by scripts/render_logo.py (`just logo`) and embedded as a string, so no image dependency is added. The palette follows the terminal background. The terminal is asked with OSC 11 followed by a DA1 query, and reading stops at the DA1 reply, so a slow reply is never echoed or left in the shell's input. Nothing is read if the user has already typed ahead. COLORFGBG is the fallback, then dark.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first
indexter initon an interactive terminal plays a ~1.2 s logo animation on stderr (gradient, a sweeping glint, twinkling sparkles), then leaves a still header with the version. It is skipped for --quiet, reindex, an already-indexed repository, and any stderr that is not a terminal wide and tall enough to hold it; NO_COLOR prints the still header unanimated.The art is indexter.png box-sampled to quadrant characters by scripts/render_logo.py (
just logo) and embedded as a string, so no image dependency is added.The palette follows the terminal background. The terminal is asked with OSC 11 followed by a DA1 query, and reading stops at the DA1 reply, so a slow reply is never echoed or left in the shell's input. Nothing is read if the user has already typed ahead. COLORFGBG is the fallback, then dark.