Depends how "dumb" of a terminal we're talking. It'll require control sequences for things like cursor positioning, but it will absolutely respect things like $TERM and $COLORTERM and tries to adapt to the terminal capabilities: for example RGB color values will be downsampled to the closest available color for ANSI16/ANSI256 terminals.
1. fallback to looking at alternative env vars like COLORTERM 2. send OSC queries to actively detect terminal support 3. if all fails, assume a terminal that understands the most basic ANSI sequences but strip markup like colors & styles
@fribbledom@charm That’s too bad. I guess the COLORTERM check seems fine, but everything after that is going to result in printing garbage for me. I really wish programs would believe me when I tell them thing.
pdx.social is a server for folks who live in the Portland, OR region. Registration is by invitation only and you can receive an invitation by contacting a member or emailing email@example.com. You must abide by our Code of Conduct.