Enable cursor

This commit is contained in:
Stanislav Pavlovichev 2019-05-13 15:47:22 +03:00
parent c1d4615cc0
commit 73986d2732
1 changed files with 1 additions and 1 deletions

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)
}