]> git.lizzy.rs Git - micro.git/blobdiff - internal/action/terminal_unsupported.go
Fix cursor position change after CopyLine command (#2353)
[micro.git] / internal / action / terminal_unsupported.go
index b295fd627725a384a315288463372bd75061453c..d279550e99883eaf3f58a33d9af326d2acaf6e7a 100644 (file)
@@ -4,8 +4,10 @@ package action
 
 import "errors"
 
+// TermEmuSupported is a constant that marks if the terminal emulator is supported
 const TermEmuSupported = false
 
-func RunTermEmulator(input string, wait bool, getOutput bool, callback string, userargs []interface{}) error {
+// 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")
 }