1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00

chore: go mod vendor

This commit is contained in:
MATSUDA Takashi
2022-03-14 11:38:33 +09:00
committed by Jesse Duffield
parent a9fa3b2af1
commit 2c7c99522b
15 changed files with 281 additions and 144 deletions

View File

@ -72,7 +72,6 @@ func (tty *devTty) Start() error {
if tty.f, err = os.OpenFile(tty.dev, os.O_RDWR, 0); err != nil {
return err
}
tty.fd = int(tty.f.Fd())
if !term.IsTerminal(tty.fd) {
return errors.New("device is not a terminal")