diff options
author | Luca Casonato <hello@lcas.dev> | 2022-09-28 15:03:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 15:03:56 +0200 |
commit | 70bc0eb72b01249b4c1ccc92b51bf5c442b3edc9 (patch) | |
tree | dbf7839f3db529e7d156426343a8a03963436967 /cli/dts/lib.deno.unstable.d.ts | |
parent | fa9e7aab6d49f241a4eb30cc0e261f8ceb64af2f (diff) |
feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 6cb062396..54b328196 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -880,39 +880,7 @@ declare namespace Deno { symbols: S, ): DynamicLibrary<S>; - /** **UNSTABLE**: New API, yet to be vetted. - * - * @category I/O - */ - export type SetRawOptions = { - cbreak: boolean; - }; - - /** **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.setRaw(Deno.stdin.rid, true, { cbreak: true }); - * ``` - * - * @category I/O - */ - export function setRaw( - rid: number, - mode: boolean, - options?: SetRawOptions, - ): void; - - /** **UNSTABLE**: New API, yet to be vetted. + /** **UNSTABLE**: needs investigation into high precision time. * * Synchronously changes the access (`atime`) and modification (`mtime`) times * of a file system object referenced by `path`. Given times are either in |