# This version is optimized for speed by: # 1. Using direct ANSI escape codes instead of forking `tput` for every update.