diff options
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 be5154fa2..8ce3e83ef 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -10,8 +10,8 @@ const ops = core.ops; const size = new Uint32Array(2); - function consoleSize(rid) { - ops.op_console_size(rid, size); + function consoleSize() { + ops.op_console_size(size); return { columns: size[0], rows: size[1] }; } |