Просмотр исходного кода

Fixes #2664 prev terminal input can break command

main
Eric Amodio 1 год назад
Родитель
Сommit
482c173708
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      src/env/node/git/git.ts

+ 2
- 0
src/env/node/git/git.ts Просмотреть файл

@ -2073,6 +2073,8 @@ 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);
terminal.sendText(text, options?.execute ?? false);
}

Загрузка…
Отмена
Сохранить