]> git.lizzy.rs Git - micro.git/blobdiff - internal/action/termpane.go
Autocompletion fix for infobuffer
[micro.git] / internal / action / termpane.go
index 779f473d18d2f03423c211a402d0263814e614a8..b5a2da527f22ca4c3671312ef337688f10e1043f 100644 (file)
@@ -1,7 +1,7 @@
 package action
 
 import (
-       "os"
+       "runtime"
 
        "github.com/zyedidia/clipboard"
        "github.com/zyedidia/micro/internal/display"
@@ -47,7 +47,7 @@ func (t *TermPane) Quit() {
        } else {
                screen.Screen.Fini()
                InfoBar.Close()
-               os.Exit(0)
+               runtime.Goexit()
        }
 }