From 349105f27708a0c54fa359255ccdbea9b0789701 Mon Sep 17 00:00:00 2001 From: Cameron Maclean <34384474+BowsiePup@users.noreply.github.com> Date: Wed, 9 Oct 2024 04:51:26 -0400 Subject: [PATCH] Add instruction value to promptText so it finds the urls on Warpgate 0.11.0 --- src/components/WebAuthHandler.TerminalDecorator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/WebAuthHandler.TerminalDecorator.ts b/src/components/WebAuthHandler.TerminalDecorator.ts index fb19b18..957b641 100644 --- a/src/components/WebAuthHandler.TerminalDecorator.ts +++ b/src/components/WebAuthHandler.TerminalDecorator.ts @@ -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;