mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
13 lines
230 B
Go
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
|
|
}
|