mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix #6715
This commit is contained in:
@@ -46,7 +46,7 @@ func DetectSupport(timeout time.Duration) (memory, files, direct bool, err error
|
||||
lp.OnInitialize = func() (string, error) {
|
||||
var iid uint32
|
||||
_, _ = lp.AddTimer(timeout, false, func(loop.IdType) error {
|
||||
return fmt.Errorf("Timed out waiting for a response form the terminal: %w", os.ErrDeadlineExceeded)
|
||||
return fmt.Errorf("Timed out waiting for a response from the terminal: %w", os.ErrDeadlineExceeded)
|
||||
})
|
||||
|
||||
g := func(t graphics.GRT_t, payload string) uint32 {
|
||||
|
||||
@@ -68,7 +68,7 @@ option.
|
||||
--detection-timeout
|
||||
type=float
|
||||
default=10
|
||||
The amount of time (in seconds) to wait for a response form the terminal, when
|
||||
The amount of time (in seconds) to wait for a response from the terminal, when
|
||||
detecting image display support.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user