hpjansson / chafa

📺🗿 Terminal graphics for the 21st century.
https://hpjansson.org/chafa/
GNU Lesser General Public License v3.0
2.97k stars 64 forks source link

Windows-specific heuristics for TE detection #232

Open hpjansson opened 1 week ago

hpjansson commented 1 week ago

We may be able to gain some information from calls to getFileInformationByHandleEx and ntQueryObjectNameInformation on Windows. Cf. https://github.com/RyanGlScott/mintty/blob/master/src/System/Console/MinTTY/Win32.hsc . Need to investigate what it returns for various TEs apart from MinTTY and see if it's any use generally.