1

I'm using the powershell terminal on VS Code. I fullscreen the terminal because I can see more stuff that way.
The text of the terminal moves upward after closing and reopening, but the terminal cursor stays at the bottom, creating a gap in the terminal. This looks messy to me and I also have to scroll more to read the previous messages.
I'm not sure if this issue is only when the terminal is in fullscreen, or if there is a threshold of how big it needs to be for this to happen.

How to recreate the issue:

  1. Create a new terminal in VS Code (Powershell).
  2. Click the Maximize Panel Size button on the terminal window (⛶).
  3. Make the text in the terminal long enough that you can scroll up and down.
  4. Press CTRL+J twice to close and then reopen the terminal.
  5. The last message displayed by the terminal should now be shifted upwards from where it was.
  6. Type something in the command line.

GIF recreating the problem: GIF recreating the problem

This is my settings.json:

{
    "liveServer.settings.donotVerifyTags": true,
    "explorer.confirmDelete": false,
    "editor.fontFamily": "Consolas",
    "editor.minimap.enabled": false,
    "editor.folding": false,
    "vscode-autosave.disableProgressNotifications": true,
    "breadcrumbs.enabled": false,
    "editor.glyphMargin": false,
    "workbench.colorTheme": "Frutiger Aero Dark",
    "window.menuBarVisibility": "compact",
    "workbench.activityBar.location": "hidden",
    "liveServer.settings.donotShowInfoMsg": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "prettier.tabWidth": 4,
    "editor.rulers": [
        80
    ],
    "git.confirmSync": false,
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "workbench.editorAssociations": {
        "*.asciimate": "default"
    }
}

1 Answer 1

0

Use Git Bash. (As the OP I know the question is about Powershell in particular, but I don't care much about what terminal I'm using.)

  1. Install Git if you haven't.
  2. Go to VS Code Settings and search "default terminal profile".
  3. Scroll to the setting that says your operating system.
  4. Set the dropdown menu to "Git Bash".
  5. Your default terminal should now be Git Bash!

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.