
ANSI Spinners, Progress Bars, Decorations — All Gone
Watch your terminal during npm install . See that spinning dot? That progress bar crawling across the screen? Those are ANSI animations — cursor movements that redraw the same line hundreds of times. You see one line updating smoothly. Your AI sees hundreds of cursor movement commands stacked on top of each other. How Terminal Animations Work A spinner works by: Print ⠋ Loading... Move cursor to start of line ( \x1b[G ) Print ⠙ Loading... Move cursor to start of line Repeat 200 times Your terminal shows one smooth animation. The raw output is 200 lines of text with cursor movement codes. Your AI ingests all 200. A progress bar is worse: \x1b[2K\x1b[1A\x1b[2K\x1b[G⸨░░░░░░░░░░░░░░░░░░░░⸩ 5% \x1b[2K\x1b[1A\x1b[2K\x1b[G⸨█░░░░░░░░░░░░░░░░░░░⸩ 10% \x1b[2K\x1b[1A\x1b[2K\x1b[G⸨██░░░░░░░░░░░░░░░░░░⸩ 15% ... (17 more updates) \x1b[2K\x1b[1A\x1b[2K\x1b[G⸨████████████████████⸩ 100% 20 versions of the same progress bar. Each with 30+ bytes of escape codes. Your AI reads them all. After ContextZip a
Continue reading on Dev.to
Opens in a new tab

