diff options
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index c01ac80fb..34d85ac87 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -1883,10 +1883,14 @@ declare namespace Deno { */ export const File: typeof FsFile; - /** **UNSTABLE**: new API, yet to be vetted. - * - * @category I/O */ + /** @category I/O */ export interface SetRawOptions { + /** + * The `cbreak` option can be used to indicate that characters that + * correspond to a signal should still be generated. When disabling raw + * mode, this option is ignored. This functionality currently only works on + * Linux and Mac OS. + */ cbreak: boolean; } @@ -1913,19 +1917,13 @@ declare namespace Deno { readonly rid: number; /** A readable stream interface to `stdin`. */ readonly readable: ReadableStream<Uint8Array>; - /** **UNSTABLE**: new API, yet to be vetted. - * + /** * Set TTY to be under raw mode or not. In raw mode, characters are read and * returned as is, without being processed. All special processing of * characters by the terminal is disabled, including echoing input * characters. Reading from a TTY device in raw mode is faster than reading * from a TTY device in canonical mode. * - * The `cbreak` option can be used to indicate that characters that - * correspond to a signal should still be generated. When disabling raw - * mode, this option is ignored. This functionality currently only works on - * Linux and Mac OS. - * * ```ts * Deno.stdin.setRaw(true, { cbreak: true }); * ``` |