Fix typos

This commit is contained in:
Jakob Haufe 2024-06-15 17:03:21 +02:00 committed by Martin Lund
parent b756d2e1f1
commit c5afd86b9a
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 .TP 6n
.IP "\fBexpect(string, timeout)" .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 '\\\\'. Supports regular expressions. Special characters must be escaped with '\\\\'.
Timeout is in milliseconds, defaults to 0 meaning it will wait forever. 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)" .IP "\fBsleep(seconds)"
Sleep for seconds. Sleep for seconds.
.IP "\fBmsleep(ms)" .IP "\fBmsleep(ms)"
Sleep for miliseconds. Sleep for milliseconds.
.IP "\fBexit(code)" .IP "\fBexit(code)"
Exit with exit 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: In addition to the Lua API tio makes the following functions available:
expect(string, timeout) 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. Returns 1 on successful match, 0 on timeout, or -1 on error.
@ -382,7 +382,7 @@ SCRIPT API
Sleep for seconds. Sleep for seconds.
msleep(ms) msleep(ms)
Sleep for miliseconds. Sleep for milliseconds.
exit(code) exit(code)
Exit with exit code. Exit with exit code.

View file

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