Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sur5r authored and lundmar committed Jun 15, 2024
1 parent b756d2e commit c5afd86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions man/tio.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions man/tio.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -382,7 +382,7 @@ SCRIPT API
Sleep for seconds.

msleep(ms)
Sleep for miliseconds.
Sleep for milliseconds.

exit(code)
Exit with exit code.
Expand Down
2 changes: 1 addition & 1 deletion src/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c5afd86

Please sign in to comment.