summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/utils/isNarrowWidth.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/utils/isNarrowWidth.ts')
-rw-r--r--packages/cli/src/ui/utils/isNarrowWidth.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/cli/src/ui/utils/isNarrowWidth.ts b/packages/cli/src/ui/utils/isNarrowWidth.ts
new file mode 100644
index 00000000..5540a400
--- /dev/null
+++ b/packages/cli/src/ui/utils/isNarrowWidth.ts
@@ -0,0 +1,9 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+export function isNarrowWidth(width: number): boolean {
+ return width < 80;
+}