mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
...
This commit is contained in:
@@ -151,7 +151,7 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
|
|||||||
} else {
|
} else {
|
||||||
t, oerr := tty.OpenControllingTerm()
|
t, oerr := tty.OpenControllingTerm()
|
||||||
if oerr != nil {
|
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()
|
screen_size, err = t.GetSize()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user