We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The TTY works on Posix and it works on Windows command prompt (DOS), but it does not work when using a Unix terminal such as mintty on Windows.
MinGW (like in Git for Windows)
MSYS2
The detection uses IsCygwinTerminal rather than the usual IsTerminal, and the survey module is hardcoded to use either/or (based on the GOOS)
IsCygwinTerminal
IsTerminal
survey
https://github.com/mattn/go-isatty
https://github.com/AlecAivazis/survey
This breaks the template selection ("Incorrect function")
But it also breaks terminal handling when running shell
Other side effects was JSON logging to the terminal too
And different output when it comes to the downloader
The text was updated successfully, but these errors were encountered:
The code in logrus also failed to detect these terminals, overrriding with ForceColors
vendor/github.com/sirupsen/logrus/text_formatter.go: isColored := f.ForceColors || (f.isTerminal && (runtime.GOOS != "windows"))
Sorry, something went wrong.
The workaround for the template selection, is either to use template:// or winpty.exe:
template://
winpty.exe
winpty limactl start
@afbjorklund Sorry, what does template:// mean here?
No branches or pull requests
Description
The TTY works on Posix and it works on Windows command prompt (DOS),
but it does not work when using a Unix terminal such as mintty on Windows.
MinGW (like in Git for Windows)
MSYS2
The detection uses
IsCygwinTerminal
rather than the usualIsTerminal
,and the
survey
module is hardcoded to use either/or (based on the GOOS)https://github.com/mattn/go-isatty
https://github.com/AlecAivazis/survey
This breaks the template selection ("Incorrect function")
But it also breaks terminal handling when running shell
Other side effects was JSON logging to the terminal too
And different output when it comes to the downloader
The text was updated successfully, but these errors were encountered: