1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 08:09:06 -05:00

docs(cli/dts): use Deno.stdin.rid in Deno.setRaw example (#10623)

This commit is contained in:
Casper Beyer 2021-05-13 20:20:55 +08:00 committed by GitHub
parent b504eb94bb
commit 62c752211c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -733,7 +733,7 @@ declare namespace Deno {
* is ignored. This functionality currently only works on Linux and Mac OS.
*
* ```ts
* Deno.setRaw(myTTY.rid, true, { cbreak: true });
* Deno.setRaw(Deno.stdin.rid, true, { cbreak: true });
* ```
*/
export function setRaw(