Skip to content

Troubleshooting

Terminal Color Support

Fresh automatically detects your terminal's color capability and converts theme colors accordingly.

Color Modes

  • Truecolor (24-bit): Full RGB color support. Used by modern terminals (Kitty, Alacritty, iTerm2).
  • 256 colors: Extended palette. Used by xterm-256color and similar.
  • 16 colors: Basic ANSI colors. Used by the Linux console.

Terminal Multiplexers

GNU Screen and tmux can affect color rendering:

  • GNU Screen: Does not support truecolor. Fresh uses 256 colors.
  • tmux: Supports 256 colors by default; some configs support truecolor with TERM=tmux-direct.

Manual Override

If colors look wrong, you can force a specific color mode with the FRESH_COLOR_MODE environment variable:

bash
# Force 256-color mode (recommended for GNU Screen)
FRESH_COLOR_MODE=256 fresh

# Force 16-color mode
FRESH_COLOR_MODE=16 fresh

# Force truecolor (if auto-detection is wrong)
FRESH_COLOR_MODE=truecolor fresh

Common Issues

SymptomLikely CauseSolution
Colors look completely wrongTruecolor detected but not supportedUse FRESH_COLOR_MODE=256
Weird artifacts/rendering issuesTerminal multiplexer interferenceTry FRESH_COLOR_MODE=256 or check TERM
Very limited/ugly colors16-color mode detectedCheck your terminal supports 256 colors

Released under the Apache 2.0 License