Skip to content

Commit

Permalink
Merge pull request #260 from roc-lang/256-byte-limit-docs
Browse files Browse the repository at this point in the history
add 256 byte limit to docs
  • Loading branch information
Anton-4 authored Nov 8, 2024
2 parents cbb6862 + e7bba8d commit f87ecb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/Stdin.roc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ line =
|> Task.mapErr handleErr

## Read bytes from [standard input](https://en.wikipedia.org/wiki/Standard_streams#Standard_input_(stdin)).
## ‼️ This function can read no more than 256 bytes at a time. Use [readToEnd] if you need more.
##
## > This is typically used in combintation with [Tty.enableRawMode],
## which disables defaults terminal bevahiour and allows reading input
Expand Down

0 comments on commit f87ecb0

Please sign in to comment.