Merge pull request #170 from fr05t1k/exec

Enable cursor
This commit is contained in:
bradley 2019-05-13 12:24:41 -04:00 committed by GitHub
commit 42f095cd85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,7 @@ func ExecShell() MenuFn {
defer ui.DefaultEvtStream.ResetHandlers()
shell := config.Get("shell")
if err := c.Exec([]string{shell.Val, "-c", "echo '\033[0m' && clear && " + shell.Val}); err != nil {
if err := c.Exec([]string{shell.Val, "-c", "printf '\\e[0m\\e[?25h' && clear && " + shell.Val}); err != nil {
log.Fatal(err)
}