Unverified Commit bd9be041 authored by Jeremy Albright's avatar Jeremy Albright Committed by Anna Henningsen
Browse files

doc: include line/cursor in readline documentation

Documents the existence and purpose of the `line` and `cursor`
properties.  `line` can be used for reading the current input value
during runtime, if reading from a TTY stream.  Both properties are
necessary when developing a custom CLI input process using `readline`
as a backend.

Refs: https://github.com/nodejs/node/issues/30347
Refs: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/40513

PR-URL: https://github.com/nodejs/node/pull/30667


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent a9abc171
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment