bash / terminal-colorsaurus

A library for answering the question «Is this terminal dark or light?» 🦕
Apache License 2.0
13 stars 3 forks source link

Better timeout strategy #6

Closed bash closed 9 months ago

bash commented 9 months ago

A great idea I found in a discussion by the terminal-wg is to send the color query first and then DA1 (CSI c). If the response to DA1 comes back first then the terminal does not support the color query.