Bug description A clear and concise description of what the bug is.
Get started in README.md. Thank you for your kind explanation.
However, I got the error in the title.
The same error occurs with the contents of README.md or with demo.ts in the example directory.
Execute the following command under the deno_tui directory.
$ deno run --allow-run ./examples/demo.ts
Error Description.
error: Uncaught TypeError: Deno.consoleSize is not a function
this.size = Deno.consoleSize(this.stdout.rid);
^
at new Canvas (file:///Users/{username}/Documents/projects/deno/deno_tui/src/canvas.ts:51:22)
at file:///Users/{username}/Documents/projects/deno/deno_tui/examples/demo.ts:32:11
Expected behavior What you expected to happen instead.
No errors.
Information (please complete)
It may not be a bug, but my mistake. If I am wrong, please advise.
Get started
inREADME.md
. Thank you for your kind explanation. However, I got the error in the title.The same error occurs with the contents of
README.md
or with demo.ts in theexample
directory.Execute the following command under the
deno_tui
directory.Error Description.
No errors.
It may not be a bug, but my mistake. If I am wrong, please advise.
deno --version
output