Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pb_appengine.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// +build appengine js
// +build appengine js wasip1

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.
// and should always failed on appengine classic which is a sandboxed PaaS,
// and on wasip1 which has no terminal-size API.
func terminalWidth() (int, error) {
return 0, errors.New("Not supported")
}