Fix typos

This commit is contained in:
Jakob Haufe 2024-06-15 17:03:21 +02:00
parent b756d2e1f1
commit 3c25453b29
No known key found for this signature in database
GPG key ID: 4CF2B218F54DAE3D
3 changed files with 5 additions and 5 deletions

View file

@ -429,7 +429,7 @@ In addition to the Lua API tio makes the following functions available:
.TP 6n
.IP "\fBexpect(string, timeout)"
Expect string - waits for string to match or timeout before continueing.
Expect string - waits for string to match or timeout before continuing.
Supports regular expressions. Special characters must be escaped with '\\\\'.
Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
@ -475,7 +475,7 @@ State is high, low, or toggle.
.IP "\fBsleep(seconds)"
Sleep for seconds.
.IP "\fBmsleep(ms)"
Sleep for miliseconds.
Sleep for milliseconds.
.IP "\fBexit(code)"
Exit with exit code.

View file

@ -341,7 +341,7 @@ SCRIPT API
In addition to the Lua API tio makes the following functions available:
expect(string, timeout)
Expect string - waits for string to match or timeout before continueing. Supports regular expressions. Special characters must be escaped with '\\'. Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
Expect string - waits for string to match or timeout before continuing. Supports regular expressions. Special characters must be escaped with '\\'. Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
Returns 1 on successful match, 0 on timeout, or -1 on error.
@ -382,7 +382,7 @@ SCRIPT API
Sleep for seconds.
msleep(ms)
Sleep for miliseconds.
Sleep for milliseconds.
exit(code)
Exit with exit code.

View file

@ -2520,7 +2520,7 @@ int tty_connect(void)
break;
default:
tio_error_printf("Unknown outut mode");
tio_error_printf("Unknown output mode");
exit(EXIT_FAILURE);
break;
}