diff --git a/term_unsupported.go b/term_unsupported.go new file mode 100644 index 0000000..76ca931 --- /dev/null +++ b/term_unsupported.go @@ -0,0 +1,11 @@ +// Copyright 2019 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build js,wasm nacl + +package term + +func isTerminal(fd int) bool { + return false +}