pub fn no_animation() -> boolExpand description
Detect if animations should be skipped.
Skips intentional-friction delays and spinner animations for users with
vestibular disorders. Follows the PREFER_REDUCED_MOTION accessibility
media query convention.
ยงExample
use netspeed_cli::terminal::no_animation;
if no_animation() {
print!("Result: A");
} else {
// Skip animation for accessibility
print!("Result: A (animation skipped)");
}