mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
Copy build constraints in actions_other.go to terminal_unsupported.go, to avoid maintaining separate build constraints that are similar with terminal_supported.go.
14 lines
461 B
Go
14 lines
461 B
Go
//go:build plan9 || nacl || windows
|
|
|
|
package action
|
|
|
|
import "errors"
|
|
|
|
// TermEmuSupported is a constant that marks if the terminal emulator is supported
|
|
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 {
|
|
return errors.New("Unsupported operating system")
|
|
}
|