Skip to content

Commit

Permalink
docs: clarify Deno.consoleSize returns the window size (denoland#18508
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Mar 30, 2023
1 parent 381f580 commit 3abc53f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/tsc/dts/lib.deno.ns.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(): {
Expand Down

0 comments on commit 3abc53f

Please sign in to comment.