fix(ui): remove 200-column cap on welcome screen width
The welcome screen lines stopped short on wide terminals because termWidth was capped at 200 columns. Remove the cap so separator lines extend to the full terminal width.
This commit is contained in:
parent
d1b7f6f85c
commit
efb4e21205
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ export function printWelcomeScreen(opts: WelcomeScreenOptions): void {
|
|||
const { version, modelName, provider, remoteChannel } = opts
|
||||
const shortCwd = getShortCwd()
|
||||
const branch = getGitBranch()
|
||||
const termWidth = Math.min((process.stderr.columns || 80) - 1, 200)
|
||||
const termWidth = (process.stderr.columns || 80) - 1
|
||||
|
||||
// Narrow terminal fallback
|
||||
if (termWidth < 70) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue