Fix Windows stuff related to the refactor at 49a5d16

This commit is contained in:
Christian Rocha
2021-07-29 17:59:36 -04:00
parent 67625b480e
commit 5f41a91e02
3 changed files with 7 additions and 23 deletions

6
tty.go
View File

@@ -1,11 +1,5 @@
package tea
import (
"errors"
)
var errInputIsNotAFile = errors.New("input is not a file")
func (p *Program) initTerminal() error {
err := p.initInput()
if err != nil {