Skip to content

Commit

Permalink
Unfixes #2664 doesn't work across shells or OSs
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed May 11, 2023
1 parent 908c7b5 commit f01a64f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/env/node/git/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2073,8 +2073,9 @@ export class Git {

const terminal = ensureGitTerminal();
terminal.show(false);
// Sends ansi codes to remove any text on the current input line
terminal.sendText('\x1b[2K\x1b', false);
// Removing this as this doesn't seem to work on bash
// // Sends ansi codes to remove any text on the current input line
// terminal.sendText('\x1b[2K\x1b', false);
terminal.sendText(text, options?.execute ?? false);
}

Expand Down

0 comments on commit f01a64f

Please sign in to comment.