mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 09:17:53 +00:00
feat(ui): Improve UI layout adaptation for narrow terminals (#5651)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
9
packages/cli/src/ui/utils/isNarrowWidth.ts
Normal file
9
packages/cli/src/ui/utils/isNarrowWidth.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
export function isNarrowWidth(width: number): boolean {
|
||||
return width < 80;
|
||||
}
|
||||
Reference in New Issue
Block a user