mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 19:05:11 +00:00
fix(coding-agent): Title Case extension hotkeys in /hotkeys output (#969)
This commit is contained in:
parent
2bbc1a7659
commit
3ae0cbe384
1 changed files with 2 additions and 1 deletions
|
|
@ -4010,7 +4010,8 @@ export class InteractiveMode {
|
|||
`;
|
||||
for (const [key, shortcut] of shortcuts) {
|
||||
const description = shortcut.description ?? shortcut.extensionPath;
|
||||
hotkeys += `| \`${key}\` | ${description} |\n`;
|
||||
const keyDisplay = key.replace(/\b\w/g, (c) => c.toUpperCase());
|
||||
hotkeys += `| \`${keyDisplay}\` | ${description} |\n`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue