fix: stop auto execute on sendText vscode extension (#5994)

Co-authored-by: Shpetim <shpetim.alimi@ndbit.net>
pull/5434/head
Shpetim 2025-12-22 22:38:54 +01:00 committed by GitHub
parent 224e5466c1
commit 64f898601b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export function activate(context: vscode.ExtensionContext) {
if (terminal.name === TERMINAL_NAME) { if (terminal.name === TERMINAL_NAME) {
// @ts-ignore // @ts-ignore
const port = terminal.creationOptions.env?.["_EXTENSION_OPENCODE_PORT"] const port = terminal.creationOptions.env?.["_EXTENSION_OPENCODE_PORT"]
port ? await appendPrompt(parseInt(port), fileRef) : terminal.sendText(fileRef) port ? await appendPrompt(parseInt(port), fileRef) : terminal.sendText(fileRef, false)
terminal.show() terminal.show()
} }
}) })