mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 14:44:46 +00:00
fix: stop auto execute on sendText vscode extension (#5994)
Co-authored-by: Shpetim <shpetim.alimi@ndbit.net>
This commit is contained in:
@@ -35,7 +35,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
if (terminal.name === TERMINAL_NAME) {
|
||||
// @ts-ignore
|
||||
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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user