Skip to content

Commit

Permalink
docs: fix typo in Child.read_line_with (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
salam99823 authored Jul 21, 2024
1 parent 4b8b62d commit e8c1f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ Similar to [`read()`](#Child.read), but it reads data line by line.
### `read_line_with(opts)` {#Child.read_line_with}

```lua
local line, event = child:wait_line_with { timeout = 500 }
local line, event = child:read_line_with { timeout = 500 }
```

Similar to [`read_line()`](#Child.read_line), but it accepts a table of options:
Expand Down

0 comments on commit e8c1f8b

Please sign in to comment.