← XeFM crftwr/xefm on GitHub · craftware

Search Animation Feature

Overview

XeFM shows animated progress indicators during long-running operations like searching files. These animations let you know that XeFM is working and provide visual feedback during operations.

Animation Styles

You can choose from several animation styles:

  1. Spinner - Classic spinning indicator (default)
    • Shows: ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
    • Best for general use
  2. Dots - Minimalist dot animation
    • Shows: ⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈
    • Good for low-distraction environments
  3. Progress - Progress bar style
    • Shows: ▏ ▎ ▍ ▌ ▋ ▊ ▉ █
    • Visual representation of activity
  4. Bounce - Simple bouncing dot
    • Shows: ⠁ ⠂ ⠄ ⠂
    • Minimal and rhythmic
  5. Pulse - Pulsing circle
    • Shows: ● ◐ ◑ ◒ ◓ ◔ ◕ ○
    • Calming and smooth
  6. Wave - Wave-like bars
    • Shows: ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ▇ ▆ ▅ ▄ ▃ ▂
    • Dynamic and engaging
  7. Clock - Clock face animation
    • Shows: 🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛
    • Clear progression indication
  8. Arrow - Rotating arrow
    • Shows: ← ↖ ↑ ↗ → ↘ ↓ ↙
    • Clear motion indication

Configuration

Add these settings to your XeFM configuration file (~/.xefm/config.py):

class Config(DefaultConfig):
    # Choose your animation style
    PROGRESS_ANIMATION_PATTERN = 'spinner'  # Default: 'spinner'
    PROGRESS_ANIMATION_SPEED = 0.2          # Default: 0.2 seconds

Settings

How It Works

Animations run automatically during operations like searching. You don’t need to do anything - just start a search and you’ll see the animation.

What You’ll See

Spinner Animation:

Searching ⠋ (15 found)
Searching ⠙ (28 found)
Searching ⠹ (42 found)

Dots Animation:

Searching ⠁ (15 found)
Searching ⠂ (28 found)
Searching ⠄ (42 found)

Progress Animation:

Searching [█░░░░░░░] (15 found)
Searching [██░░░░░░] (28 found)
Searching [███░░░░░] (42 found)

When You’ll See Animations

Search Result Limit

Search results are bounded internally (the scan stops after a large cap) to keep performance predictable on big directory trees. When the cap is reached, the search stops and shows “limit reached” in the status. Use more specific search patterns if you hit this frequently.

Troubleshooting

Animation Not Showing

Animation Too Fast or Slow

Characters Look Wrong

Tips