peco.peco/termbox_screen_windows.go
Daisuke Maki 8298894a53 handle a few low hanging fruits, and remove termbox from them
Other termbox specific implementations are now in files with
termbox_ prefixes
2020-12-22 18:29:35 +09:00

13 lines
230 B
Go

// +build !tcell,windows
package peco
import "github.com/nsf/termbox-go"
func (t *Termbox) PostInit(cfg *Config) error {
// Windows handle Esc/Alt self
termbox.SetInputMode(termbox.InputEsc | termbox.InputAlt)
return nil
}