From 70bc0eb72b01249b4c1ccc92b51bf5c442b3edc9 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 28 Sep 2022 15:03:56 +0200 Subject: feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- runtime/js/40_tty.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'runtime/js/40_tty.js') 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); -- cgit v1.2.3