mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 22:03:45 +00:00
Fix Anthropic login not showing URL (showPrompt should not clear content)
This commit is contained in:
parent
9b12719ab1
commit
9c87eeb805
1 changed files with 1 additions and 1 deletions
|
|
@ -109,9 +109,9 @@ export class LoginDialogComponent extends Container {
|
|||
|
||||
/**
|
||||
* Called by onPrompt callback - show prompt and wait for input
|
||||
* Note: Does NOT clear content, appends to existing (preserves URL from showAuth)
|
||||
*/
|
||||
showPrompt(message: string, placeholder?: string): Promise<string> {
|
||||
this.contentContainer.clear();
|
||||
this.contentContainer.addChild(new Spacer(1));
|
||||
this.contentContainer.addChild(new Text(theme.fg("text", message), 1, 0));
|
||||
if (placeholder) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue