mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 21:54:00 +00:00
feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
fa9e7aab6d
commit
70bc0eb72b
12 changed files with 43 additions and 50 deletions
|
@ -181,6 +181,11 @@
|
|||
}
|
||||
return this.#readable;
|
||||
}
|
||||
|
||||
setRaw(mode, options = {}) {
|
||||
const cbreak = !!(options.cbreak ?? false);
|
||||
ops.op_stdin_set_raw(mode, cbreak);
|
||||
}
|
||||
}
|
||||
|
||||
class Stdout {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue