diff options
Diffstat (limited to 'junk1.go')
| -rw-r--r-- | junk1.go | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -6,24 +6,13 @@ package main import ( "fmt" - "syscall" "github.com/awesome-gocui/gocui" "go.wit.com/log" ) -// handle ctrl+z -func handle_ctrl_z(g *gocui.Gui, v *gocui.View) error { - gocui.Suspend() - log.Info("got ctrl+z") - syscall.Kill(syscall.Getpid(), syscall.SIGSTOP) - log.Info("got ctrl+z syscall() done") - gocui.Resume() - return nil -} - -func defaultKeybindings(g *gocui.Gui) error { +func OLDdefaultKeybindings(g *gocui.Gui) error { if err := g.SetKeybinding("", gocui.KeyCtrlC, gocui.ModNone, quit); err != nil { return err } |
