Skip to content

Commit

Permalink
Send both bracketed paste end commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Jan 19, 2025
1 parent bd4fb5d commit 7e72102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manimShell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export class ManimShell {
if (process.platform === "win32") {
this.detectShellExecutionEnd = false;
// https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Bracketed-Paste-Mode
shell.sendText(`\x1b[?2004l\u000F${command}\x1b\r\n\r\n`, false);
shell.sendText(`\x1b[201~\x1b[?2004l\u000F${command}\x1b\r\n\r\n`, false);
this.detectShellExecutionEnd = true;
} else {
this.exec(shell, command);
Expand Down

0 comments on commit 7e72102

Please sign in to comment.