summaryrefslogtreecommitdiff
path: root/runtime/js/40_tty.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_tty.js')
-rw-r--r--runtime/js/40_tty.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js
index 2e98a4f5a..9b23b1ec1 100644
--- a/runtime/js/40_tty.js
+++ b/runtime/js/40_tty.js
@@ -5,11 +5,11 @@
const core = window.Deno.core;
function consoleSize(rid) {
- return core.jsonOpSync("op_console_size", { rid });
+ return core.jsonOpSync("op_console_size", rid);
}
function isatty(rid) {
- return core.jsonOpSync("op_isatty", { rid });
+ return core.jsonOpSync("op_isatty", rid);
}
const DEFAULT_SET_RAW_OPTIONS = {