feat(tui): add ASCII art banner on startup

This commit is contained in:
William Valentin
2026-02-10 13:11:32 -08:00
parent f204ff1dd7
commit f892bbe6ca
4 changed files with 43 additions and 2 deletions
+3 -1
View File
@@ -10,6 +10,7 @@ import { OllamaClient, LlamaCppClient } from '../../models/index.js';
import { createClientFromConfig } from '../../daemon/index.js';
import { loginGitHub } from '../../auth/index.js';
import type { PairingManager } from '../../channels/pairing.js';
import { getColoredBanner } from './banner.js';
export { parseCommand, type Command };
@@ -125,7 +126,8 @@ export class MinimalTui {
readline.emitKeypressEvents(process.stdin);
}
console.log(`${colors.orange}${colors.bold}Flynn TUI${colors.reset} ${colors.dim}(minimal mode)${colors.reset}`);
console.log(getColoredBanner());
console.log(`\n${colors.orange}${colors.bold}Flynn TUI${colors.reset} ${colors.dim}(minimal mode)${colors.reset}`);
console.log(`${colors.gray}Type /help for commands, /fullscreen for panel mode${colors.reset}\n`);
await this.promptLoop();