Skip to content

Commit

Permalink
Add instruction value to promptText so it finds the urls on Warpgate …
Browse files Browse the repository at this point in the history
…0.11.0
  • Loading branch information
BowsiePup authored Oct 9, 2024
1 parent 1c94212 commit 349105f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/WebAuthHandler.TerminalDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class WebAuthHandlerDecorator extends TerminalDecorator {

activeKIPromptChanged(kiPrompt: KeyboardInteractivePrompt, tab: ExtendedTerminalTabComponent): void {
this.log('activeKIPrompt changed')
const promptText = kiPrompt.name
const promptText = kiPrompt.name + kiPrompt.instruction;

// Regular expression to match URLs
const urlRegex = /(https?:\/\/[^\s]+)/g;
Expand Down

0 comments on commit 349105f

Please sign in to comment.