Add almost full option support

This commit is contained in:
Zachary Yedidia
2019-01-13 21:06:58 -05:00
parent 6c1db53b65
commit a5e7122b30
16 changed files with 285 additions and 279 deletions

View File

@@ -6,7 +6,6 @@ import (
"syscall"
"github.com/zyedidia/micro/cmd/micro/screen"
"github.com/zyedidia/micro/cmd/micro/util"
)
// Suspend sends micro to the background. This is the same as pressing CtrlZ in most unix programs.
@@ -19,7 +18,7 @@ func (*BufHandler) Suspend() bool {
pid := syscall.Getpid()
err := syscall.Kill(pid, syscall.SIGSTOP)
if err != nil {
util.TermMessage(err)
screen.TermMessage(err)
}
screen.TempStart(screenb)