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 /runtime/js/40_tty.js | |
parent | fa9e7aab6d49f241a4eb30cc0e261f8ceb64af2f (diff) |
feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/js/40_tty.js')
-rw-r--r-- | runtime/js/40_tty.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js index f43859ed7..be5154fa2 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -21,14 +21,8 @@ return !!isattyBuffer[0]; } - const DEFAULT_CBREAK = false; - function setRaw(rid, mode, options = {}) { - ops.op_set_raw(rid, mode, options.cbreak || DEFAULT_CBREAK); - } - window.__bootstrap.tty = { consoleSize, isatty, - setRaw, }; })(this); |