question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PowerShell in Windows BASH display issues

See original GitHub issue

Steps to reproduce

I just want this to be noted. I see some interest with Windows 10 include BASH. I try to run PowerShell in Windows Bash cmd. I installed it using the Ubuntu version 14.04.

$ sudo apt-get install libunwind8 $ sudo apt-get install libicu52 $ cd Downloads $ sudo dpkg -i powershell_6.0.0-alpha.8-1_amd64-ubuntu.14.04-x64.deb

poshbash_01

poshbash_02

Commands seem to execute but the screen refresh after running the command won’t clear. Also, when you start typing, the prompt is gone and start typing at the top of the screen.

Expected behavior

Normal console behavior after running command the return to the next line of the prompt

Actual behavior

See attached images.

poshbash_03 poshbash_04

Environment data

Bash - Windows 10 Pro Insider Preview 14901.rs_prerelease.160805-1700 powershell_6.0.0-alpha.8-1_amd64-ubuntu.14.04-x64.deb

> $PSVersionTable

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
lzybkrcommented, Aug 24, 2016

The conhost guys took a look - they think #1877 might be contributing the problem. I’m working of changing the rendering for multiple reasons, hopefully they’re right and my changes will just fix it.

2reactions
rkeithhillcommented, Aug 17, 2016

Alpha code running correctly on top of Beta code, eh? You expect a lot. 😃 I can’t even get a simple ASP.NET Core app (default web template) to run correctly in WSL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerShell does not launch bash.exe
All, I am new and trying to learn. My issue: When I enter bash.exe in a PowerShell cmd window, my PC does not...
Read more >
Powershell not returning any output in terminal
Hi, I'm running Windows Powershell and whenever I run a command it doesn't return any output/information back to the terminal.
Read more >
My windows powershell display weird chars
1 Answer 1 ... This looks like in the format of bash . I suppose a script has changed your command line to...
Read more >
Docker-for-window & powershell display problem
The command I used was: “docker run -it ubuntu /bin/bash” & hit return. In powershell, the cursor return a blank line. I changed...
Read more >
PowerShell vs. Bash: Key differences explained
This Windows PowerShell vs. Bash assessment takes into account the two scripting shells' target users on Windows, capabilities and command ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found