mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +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) {
|
lp.OnInitialize = func() (string, error) {
|
||||||
var iid uint32
|
var iid uint32
|
||||||
_, _ = lp.AddTimer(timeout, false, func(loop.IdType) error {
|
_, _ = 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 {
|
g := func(t graphics.GRT_t, payload string) uint32 {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ option.
|
|||||||
--detection-timeout
|
--detection-timeout
|
||||||
type=float
|
type=float
|
||||||
default=10
|
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.
|
detecting image display support.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user