Skip to content

Commit 057f71c

Browse files
authored
Allow bracketedPaste on win32 platform
1 parent 6108825 commit 057f71c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/rTerminal.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,8 @@ export async function runTextInTerm(text: string, execute: boolean = true): Prom
271271
return;
272272
}
273273
if (config().get<boolean>('bracketedPaste')) {
274-
if (process.platform !== 'win32') {
275-
// Surround with ANSI control characters for bracketed paste mode
276-
text = `\x1b[200~${text}\x1b[201~`;
277-
}
274+
// Surround with ANSI control characters for bracketed paste mode
275+
text = `\x1b[200~${text}\x1b[201~`;
278276
term.sendText(text, execute);
279277
} else {
280278
const rtermSendDelay: number = config().get('rtermSendDelay') || 8;

0 commit comments

Comments
 (0)