Files
zyedidia.micro/cmd/micro/shell_supported.go
2018-01-22 17:20:03 -05:00

19 lines
393 B
Go

// +build linux darwin dragonfly openbsd 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
}