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:
committed by
Jesse Duffield
parent
e413c216ba
commit
b70075eba6
2
vendor/github.com/gdamore/tcell/v2/tty_unix.go
generated
vendored
2
vendor/github.com/gdamore/tcell/v2/tty_unix.go
generated
vendored
@ -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")
|
||||
|
Reference in New Issue
Block a user