Closed afbjorklund closed 1 year ago
Currently the posix code is compiled out, so it's not possible to run it from Windows.
But when isatty.IsCygwinTerminal, it should be preferred over the isatty.IsTerminal
isatty.IsCygwinTerminal
isatty.IsTerminal
This is the terminal:
https://mintty.github.io/
The library might need some refactoring, to have access to both of the implementations ?
The simple code can be copy/paste'd, but that would look ugly for e.g. cursor and such
Apparently a duplicate of #148, which used winpty.exe as a workaround
winpty.exe
It was needed for "lima", for running Linux machines (also on Windows)
Closing this as a duplicate
Currently the posix code is compiled out, so it's not possible to run it from Windows.
But when
isatty.IsCygwinTerminal
, it should be preferred over theisatty.IsTerminal
This is the terminal:
https://mintty.github.io/
The library might need some refactoring, to have access to both of the implementations ?
The simple code can be copy/paste'd, but that would look ugly for e.g. cursor and such