summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-30 11:47:33 -0400
committerGitHub <noreply@github.com>2023-03-30 11:47:33 -0400
commit3abc53f8119409916776a5ff277a745022b60680 (patch)
tree01245be6d36aa8ed1c9fe6fde06aaddf0ba8b5a9 /cli/tsc
parent381f5801f924f204e9b7a693d8f6e78e63a654b8 (diff)
docs: clarify `Deno.consoleSize` returns the window size (#18508)
Closes #18477
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index ca2be7ba1..4d41aea43 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -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(): {