MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getDefaultCharacters

Function getDefaultCharacters

src/components/Spinner/utils.ts:4–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import type { RGBColor as RGBColorType } from './types.js'
3
4export function getDefaultCharacters(): string[] {
5 if (process.env.TERM === 'xterm-ghostty') {
6 return ['·', '✢', '✳', '✶', '✻', '*'] // Use * instead of ✽ for Ghostty because the latter renders in a way that's slightly offset
7 }
8 return process.platform === 'darwin'
9 ? ['·', '✢', '✳', '✶', '✻', '✽']
10 : ['·', '✢', '*', '✶', '✻', '✽']
11}
12
13// Interpolate between two RGB colors
14export function interpolateColor(

Callers 2

Spinner.tsxFile · 0.85
SpinnerGlyph.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected