Comment

Comment by rollcat

    curl wttr.in/London > london.txt
    open -a TextEdit london.txt
Witness the control code garbage.

IMHO you should not emit ANSII escape sequences until you at least call isatty, preferably also consult termcap. But also IMHO we should bury the terminals, and build better REPLs and lightweight GUI toolkits.

parent rollcat 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton