diff options
| author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-05 18:40:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-05 18:40:24 +0200 |
| commit | 2aed322dd507a8568b6ee6f4897e9a8e3220f763 (patch) | |
| tree | e9a45c0b7688a9881ea9ce132b92554ef2955ad6 /runtime/js/40_tty.js | |
| parent | 284e6c303956e8ca20af63b4ecc045438a260fe6 (diff) | |
refactor: convert ops to use serde_v8 (#10009)
This commit rewrites most of the ops to use "serde_v8" instead
of "json" serialization.
Diffstat (limited to 'runtime/js/40_tty.js')
| -rw-r--r-- | runtime/js/40_tty.js | 4 |
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 = { |
