mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 23:01:56 +00:00
Update welcome banner with minimal pi logo and improved instructions
This commit is contained in:
parent
ea01a758e0
commit
95d71920f3
1 changed files with 15 additions and 5 deletions
|
|
@ -332,12 +332,22 @@ export class TuiRenderer {
|
||||||
async init(): Promise<void> {
|
async init(): Promise<void> {
|
||||||
if (this.isInitialized) return;
|
if (this.isInitialized) return;
|
||||||
|
|
||||||
// Add header with instructions
|
// Add header with logo and instructions
|
||||||
const header = new Text(
|
const logo = chalk.cyan("●") + " " + chalk.bold("pi");
|
||||||
">> coding-agent interactive <<\n" +
|
const instructions = chalk.dim(
|
||||||
"Press Escape to interrupt while processing\n" +
|
"esc" +
|
||||||
"Press CTRL+C twice quickly to exit\n",
|
chalk.gray(" to interrupt") +
|
||||||
|
" • " +
|
||||||
|
"ctrl+c" +
|
||||||
|
chalk.gray(" to clear") +
|
||||||
|
" • " +
|
||||||
|
"ctrl+c twice" +
|
||||||
|
chalk.gray(" to exit") +
|
||||||
|
" • " +
|
||||||
|
"/" +
|
||||||
|
chalk.gray(" for commands"),
|
||||||
);
|
);
|
||||||
|
const header = new Text(logo + "\n" + instructions + "\n");
|
||||||
|
|
||||||
// Setup UI layout
|
// Setup UI layout
|
||||||
this.ui.addChild(header);
|
this.ui.addChild(header);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue