We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef730b6 commit a7aaa3eCopy full SHA for a7aaa3e
src/extension.ts
@@ -34,7 +34,10 @@ function sendSelectionToTerminal(activeTextEditor: vscode.TextEditor) {
34
text = activeTextEditor.document.getText(selection);
35
}
36
text = text.trim();
37
- interactiveTerminal.sendText(text, true);
+ interactiveTerminal.show();
38
+ interactiveTerminal.sendText(`:paste`);
39
+ interactiveTerminal.sendText(`${text}`);
40
+ interactiveTerminal.sendText("\u0004");
41
42
43
function disposeTerminal() {
0 commit comments