From 92dee428f1c42968b3b979d640c53f273be02693 Mon Sep 17 00:00:00 2001 From: anseki Date: Wed, 27 Apr 2016 23:36:28 +0900 Subject: [PATCH] Add note about bufferSize to README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c23175..b77c9af 100644 --- a/README.md +++ b/README.md @@ -480,7 +480,8 @@ _For `question*` and `prompt*` methods only_ *Default:* `1024` When readlineSync reads from a console directly (without external program), use a size `bufferSize` buffer. -Even if the input by user exceeds it, it's usually no problem, because the buffer is used repeatedly. But some platforms's (e.g. Windows) console might not accept input that exceeds it. And set an enough size. +Even if the input by user exceeds it, it's usually no problem, because the buffer is used repeatedly. But some platforms's (e.g. Windows) console might not accept input that exceeds it. And set an enough size. +Note that this might be limited by [version of Node.js](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding) and environment running your script (Big buffer size is usually not required). ### `print`