# \[Git Bash/ CMD\] How to fix crashed/error in git bash/ cmd display?

**URL:** <https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029>\
**Category:** General\
**Created:** [April 29, 2021, 5:25am UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029 "2021-04-29T05:25:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan.developer99](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ryan.developer99/32/183017_2.png) [@ryan.developer99](https://forum.freecodecamp.org/u/ryan.developer99)\
**Post date:** [April 29, 2021, 5:25am UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029/1 "2021-04-29T05:25:08Z")

</div>

Hey guys, I was typing git commands on VSCode.  
But suddenly the git bash window looks weird like that.(It looked totally normal just a few minutes ago)

I have no idea why this happens even after I rebooted the computer.

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/4/2/42befc0510eefdb2dae0201b52d1bd07de0dbf33.png)

Even the terminal window/display looks weird too…

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/4/9/49fb0fe759eb8effcfb845252a2ea128594e47ae.png)

Can you help how to fix this?? Thanks …

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [April 29, 2021, 3:58pm UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029/2 "2021-04-29T15:58:21Z")

</div>

Hello there,

When I was developing an app using a built-in terminal like this, I often came across this kind of view, because of the way `node-pty` would try to update `xterm`. It usually means input with `xterm` is not in parity with `node-pty`, which could come about from a number of reasons.

Potentially, VSCode have a bug. But, it could also be something about the processes on your computer - the server on your computer running `node-pty` is not properly connected with `xterm`. Do you have a lot running in the background on your PC?

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [April 30, 2021, 2:42pm UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029/3 "2021-04-30T14:42:25Z")

</div>

If you look at the two images, you’ll see that they are two _different_ terminal emulators. The first picture is a bash terminal. The second one is a powershell terminal. If you look at the dropdowns that say “bash” and “powershell” you will also see that each has a number before it. In the second photo you have at least 3 terminal emulators running, and powershell is the third. My best guess is that as you were typing, you had a mistype and hit the keyboard shortcut to open a new terminal (I think it’s `Ctrl` + `, but I could be wrong). Powershell is the default terminal emulator for VSCode on Windows, so when you created a new terminal window, you opened a Powershell instance.

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [April 30, 2021, 2:51pm UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029/4 "2021-04-30T14:51:08Z")

</div>

I assume it’s the cut-off text for bash and the space in front of the command for PS that the OP is talking about.

* * *

Is it only the integrated terminal that has the issue?

For me the VS Code integrated terminal has always been a little bit janky at times, usually closing and reopening the terminal fixes the issue.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [October 30, 2021, 2:51am UTC](https://forum.freecodecamp.org/t/git-bash-cmd-how-to-fix-crashed-error-in-git-bash-cmd-display/458029/5 "2021-10-30T02:51:45Z")

</div>

Closed on October 30, 2021, 2:51am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
