You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a program supporting both interactive/non-interactive mode (e.g. the cli is running in a pipe), the following init function crashes my program in non-interactive mode:
func init() {
if !term.SupportANSI() {
panic("Your terminal does not support ANSI")
}
}
The text was updated successfully, but these errors were encountered:
I'm writing a program supporting both interactive/non-interactive mode (e.g. the cli is running in a pipe), the following init function crashes my program in non-interactive mode:
The text was updated successfully, but these errors were encountered: