Changed
- JVM: terminal detection now uses JNA to call kernel functions directly.
- Interactive state of stdin and stdout are now detected separately.
- Terminal size detection is now fast since it does not need a subprocess. Terminal size is detected automatically at startup.
Fixed
- Detect terminal correctly when running in the IntelliJ terminal tab, but not through a run action. (#76)
Deprecated
timeoutMs
parameter toTerminalDetection.updateTerminalSize
. This function is now fast on all platforms.