v3/termutil/term_appengine.go
raw| 1 | //go:build appengine |
| 2 | // +build appengine |
| 3 | |
| 4 | package termutil |
| 5 | |
| 6 | import "errors" |
| 7 | |
| 8 | // terminalWidth returns width of the terminal, which is not supported |
| 9 | // and should always failed on appengine classic which is a sandboxed PaaS. |
| 10 | func TerminalWidth() (int, error) { |
| 11 | return 0, errors.New("Not supported") |
| 12 | } |