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

go mod vendor

This commit is contained in:
MATSUDA Takashi
2022-01-25 00:55:08 +09:00
committed by Jesse Duffield
parent e413c216ba
commit b70075eba6
7 changed files with 76 additions and 36 deletions

View File

@ -72,7 +72,7 @@ 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.of.Fd())
tty.fd = int(tty.f.Fd())
if !term.IsTerminal(tty.fd) {
return errors.New("device is not a terminal")