This commit is contained in:
Kovid Goyal
2023-10-14 08:49:46 +05:30
parent a79dd3996a
commit a8a1571ed1
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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.