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:
parent
381f5801f9
commit
3abc53f811
1 changed files with 4 additions and 0 deletions
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -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(): {
|
||||
|
|
Loading…
Reference in a new issue