()
| 2 | import type { RGBColor as RGBColorType } from './types.js' |
| 3 | |
| 4 | export 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 |
| 14 | export function interpolateColor( |
no outgoing calls
no test coverage detected