micro/internal/action/terminal_unsupported.go

14 lines
485 B
Go
Raw Normal View History

2019-08-26 21:47:27 +03:00
// +build !linux,!darwin,!freebsd,!dragonfly,!openbsd_amd64
package action
import "errors"
// TermEmuSupported is a constant that marks if the terminal emulator is supported
2019-08-26 21:47:27 +03:00
const TermEmuSupported = false
// RunTermEmulator returns an error for unsupported systems (non-unix systems
func RunTermEmulator(input string, wait bool, getOutput bool, callback func(out string, userargs []interface{}), userargs []interface{}) error {
2019-08-26 21:47:27 +03:00
return errors.New("Unsupported operating system")
}