Expose emulator functions and support output

Ref #979
This commit is contained in:
Zachary Yedidia
2018-01-20 23:34:16 -05:00
parent 0a7e4c8f06
commit 10b8fb7b26
7 changed files with 30 additions and 14 deletions

View File

@@ -2,8 +2,10 @@
package main
import "errors"
const TermEmuSupported = false
func RunTermEmulator(input string, wait bool, getOutput bool) string {
return "Unsupported"
func RunTermEmulator(input string, wait bool, getOutput bool) error {
return errors.New("Unsupported operating system")
}