Debian Codegraph @

internal/action/terminal_unsupported.go

raw
1 //go:build plan9 || nacl || windows
2
3 package action
4
5 import "errors"
6
7 // TermEmuSupported is a constant that marks if the terminal emulator is supported
8 const TermEmuSupported = false
9
10 // RunTermEmulator returns an error for unsupported systems (non-unix systems
11 func RunTermEmulator(input string, wait bool, getOutput bool, callback func(out string, userargs []any), userargs []any) error {
12 return errors.New("Unsupported operating system")
13 }