From e7bba8d3f3859bfdf64e63bf2430103d9213acc2 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:16:17 +0100 Subject: [PATCH] add 256 byte limit to docs --- platform/Stdin.roc | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/Stdin.roc b/platform/Stdin.roc index 355b873..9969ee9 100644 --- a/platform/Stdin.roc +++ b/platform/Stdin.roc @@ -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