Remix.run Logo
▲ jquast an hour ago

You can now directly inquire the terminal of its termcap entries using control sequences, “XTGETTCAP”, full for ~23% of terminals, or just keyboard caps from ~15%, probably too little too late, but it is possible to directly ask a terminal and I think it is the correct solution.

https://github.com/yonasBSD/foot#xtgettcap https://github.com/jquast/ttyscan#motive https://ucs-detect.readthedocs.io/results.html#terminal-capa...