Ray Salemi
Ray Salemi

Reputation: 5883

Visual Studio Code terminal does not work properly if launched using the `code .` command on macOS

If I launch Visual Studio Code using the dock in macOS the terminal works normally.

But if I launch Visual Studio Code from the command line:

% vscode .

Then the terminal control characters do not work properly. Instead of controlling the command line cursor they print:

Preview

Any thoughts on how to fix this?

Upvotes: 1

Views: 385

Answers (1)

Chris Hess
Chris Hess

Reputation: 207

I use Visual Studio Code 1.59.0 on Big Sur.

I configure PATH from VSC IDE with CMD+SHIFT+P : Shell Command: Install 'code' command in PATH

From the Terminal I run code to start the application and I have no issues.

Upvotes: 1

Related Questions