mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
commit
e3472a53a9
|
|
@ -169,7 +169,7 @@ func (t *TcellScreen) Init(cfg *Config) error {
|
|||
}
|
||||
|
||||
t.screen = screen
|
||||
return t.PostInit(cfg)
|
||||
return nil
|
||||
}
|
||||
|
||||
func NewTcellScreen() *TcellScreen {
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package peco
|
||||
|
||||
// PostInit is a no-op on POSIX systems. tcell auto-detects
|
||||
// color capability via terminfo.
|
||||
func (t *TcellScreen) PostInit(cfg *Config) error {
|
||||
return nil
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
package peco
|
||||
|
||||
// PostInit is a no-op on Windows. tcell handles input mode automatically.
|
||||
func (t *TcellScreen) PostInit(cfg *Config) error {
|
||||
return nil
|
||||
}
|
||||
Loading…
Reference in a new issue