File: pb_appengine.go

package info (click to toggle)
golang-github-cheggaaa-pb.v3 3.1.5-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 344 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
// +build appengine js

package pb

import "errors"

// terminalWidth returns width of the terminal, which is not supported
// and should always failed on appengine classic which is a sandboxed PaaS.
func terminalWidth() (int, error) {
	return 0, errors.New("Not supported")
}