Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.53k stars 572 forks source link

Issue with text output while navigating through command history with PowerShell #2420

Closed dodmi closed 2 years ago

dodmi commented 2 years ago

Versions

ConEmu build: 220308 x64 OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): PowerShell 5.1

Problem description

With the new ConEmu build, while navigating through the command history with up/down arrow, only the first line is updated, such that the additional text lines stick in the output window and don't get erased. This issue didn't exist in ConEmu 210912.

Steps to reproduce

  1. Start a PowerShell instance
  2. Enter cd \
  3. Enter a command, which is longer than your input line. I'm using Get-ChildItem | Select-Object -Property Attributes,CreationTime,LastAccessTime,IsReadOnly,CreationTimeUtc in my example.
  4. Press "up arrow" two times

Actual results

You see cd \ on the command line and whatever was in the multiple lines below the first line of your second issued command (e.g. dOnly,CreationTimeUtc in my example)

Expected results

You should see only cd \ on the command line

Additional files

image

abatishchev commented 2 years ago

+1. The March update is bogus. Could you please fix this issue? It's impossible to use Conemu with PowerShell right now.

ClaudiuSchuster commented 2 years ago

I experienced this issue also under 220308 (very annoying), and even one more (not sure if it is only happening under PowerShell): https://github.com/Maximus5/ConEmu/issues/2429

Maximus5 commented 2 years ago

https://conemu.github.io/blog/2022/04/18/Build-220418.html

ClaudiuSchuster commented 2 years ago

Seems to be fixed (could not be reproduced from my side with written repro-steps), thanks a lot ❤️👌✌️😎🥳