mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 19:05:11 +00:00
Put each instruction on its own line and add file drop hint
This commit is contained in:
parent
fb4893d8d4
commit
71fb1b9173
1 changed files with 15 additions and 13 deletions
|
|
@ -336,19 +336,21 @@ export class TuiRenderer {
|
|||
|
||||
// Add header with logo and instructions
|
||||
const logo = chalk.bold.cyan("pi") + chalk.dim(` v${this.version}`);
|
||||
const instructions = chalk.dim(
|
||||
"esc" +
|
||||
chalk.gray(" to interrupt") +
|
||||
" • " +
|
||||
"ctrl+c" +
|
||||
chalk.gray(" to clear") +
|
||||
" • " +
|
||||
"ctrl+c twice" +
|
||||
chalk.gray(" to exit") +
|
||||
" • " +
|
||||
"/" +
|
||||
chalk.gray(" for commands"),
|
||||
);
|
||||
const instructions =
|
||||
chalk.dim("esc") +
|
||||
chalk.gray(" to interrupt") +
|
||||
"\n" +
|
||||
chalk.dim("ctrl+c") +
|
||||
chalk.gray(" to clear") +
|
||||
"\n" +
|
||||
chalk.dim("ctrl+c twice") +
|
||||
chalk.gray(" to exit") +
|
||||
"\n" +
|
||||
chalk.dim("/") +
|
||||
chalk.gray(" for commands") +
|
||||
"\n" +
|
||||
chalk.dim("drop files") +
|
||||
chalk.gray(" to attach");
|
||||
const header = new Text(logo + "\n" + instructions);
|
||||
|
||||
// Setup UI layout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue