3 ms·
Windows has out-of-band terminal controls (size, ...) through a terminal API. They decided it was a bad thing (also compatibility) and now they implemented in-
by dist-epoch 3y ago
Windows has out-of-band terminal controls (size, ...) through a terminal API.
They decided it was a bad thing (also compatibility) and now they implemented in-band ANSI escape sequences and recommend them.
- fragmede 3y agoFascinating. Do you know why?
- dist-epoch 3y agoThe biggest one is compatibility with Linux console apps. But also the difficulty of running a terminal session outside the traditional Windows command line app (think VS Code terminal pane). https://devblogs.microsoft.com/commandline/windows-command-line-inside-the-windows-console/ https://devblogs.microsoft.com/commandline/windows-command-l...
- GoblinSlayer 3y agoSurely VS Code terminal pane can't display arbitrary unix terminal session, so this shouldn't be a concern. Arguably windows makes it easier: since color control is out of band, it can be ignored and only text is displayed.
- H4ZB7 3y agobecause of the hacker community circle jerk. there was no rational reason. it's like back when people used ANSI.SYS to display a text file with colors. it's leet factor and has no application in reality.
- deleted 3y ago[deleted]
- thayne 3y agoI'm not sure if this was they reason for them, but one potential problem is synchronization between the two bands.