improved startup screen

This commit is contained in:
Kevin Codex
2026-04-01 23:32:38 +08:00
parent a44f45e951
commit 65af73910c
5 changed files with 55 additions and 54 deletions

View File

@@ -96,9 +96,9 @@ export function calculateOptimalLeftWidth(
*/
export function formatWelcomeMessage(username: string | null): string {
if (!username || username.length > MAX_USERNAME_LENGTH) {
return 'Welcome back!'
return 'Welcome to Open Claude'
}
return `Welcome back ${username}!`
return `Welcome back, ${username}`
}
/**