Files
zyedidia.micro/cmd/micro/shell_posix.go
2018-01-20 23:34:16 -05:00

19 lines
408 B
Go

// +build linux darwin dragonfly solaris openbsd netbsd freebsd
package main
import (
"github.com/zyedidia/micro/cmd/micro/shellwords"
)
const TermEmuSupported = true
func RunTermEmulator(input string, wait bool, getOutput bool, callback string) error {
args, err := shellwords.Split(input)
if err != nil {
return err
}
err = CurView().StartTerminal(args, wait, getOutput, callback)
return err
}