...
This commit is contained in:
parent
c650bd0aac
commit
b26c4c16d0
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
|
|||
} else {
|
||||
t, oerr := tty.OpenControllingTerm()
|
||||
if oerr != nil {
|
||||
return 1, fmt.Errorf("Failed to open controlling terminal with error: %w", err)
|
||||
return 1, fmt.Errorf("Failed to open controlling terminal with error: %w", oerr)
|
||||
}
|
||||
screen_size, err = t.GetSize()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue