0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

docs: clarify Deno.consoleSize returns the window size (#18508)

Closes #18477
This commit is contained in:
David Sherret 2023-03-30 11:47:33 -04:00 committed by GitHub
parent 381f5801f9
commit 3abc53f811
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2294,6 +2294,10 @@ declare namespace Deno {
* const { columns, rows } = Deno.consoleSize();
* ```
*
* This returns the size of the console window as reported by the operating
* system. It's not a reflection of how many characters will fit within the
* console window, but can be used as part of that calculation.
*
* @category I/O
*/
export function consoleSize(): {