Skip to content

Commit

Permalink
doco fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Mar 21, 2024
1 parent 7fac00b commit 07a07ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions illwill.nim
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ proc getKey*(): Key =
## keypress events in the buffer, `Key.None` is returned.
##
## If a mouse event was captured, `Key.Mouse` is returned. Call `getMouse()`
## to get tne details about the event.
## to get the details about the event.
##
## If the module is not intialised, `IllwillError` is raised.
checkInit()
Expand All @@ -868,11 +868,11 @@ proc getKey*(): Key =
return Key.Mouse

proc getKeyWithTimeout*(ms = 1000): Key =
## Reads the next keystroke within specific timeout (default = 1s). If there are no
## keypress events happen in the `ms` period, `Key.None` is returned.
## Reads the next keystroke with a timeout. If there were no keypress events
## in the specified `ms` period, `Key.None` is returned.
##
## If a mouse event was captured, `Key.Mouse` is returned. Call `getMouse()`
## to get tne details about the event.
## to get the details about the event.
##
## If the module is not intialised, `IllwillError` is raised.
checkInit()
Expand Down

0 comments on commit 07a07ae

Please sign in to comment.