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.5k stars 570 forks source link

Strange behavior on nano or man commands #2543

Open Saya47 opened 9 months ago

Saya47 commented 9 months ago

Versions

ConEmu build: 230724 x64 OS version: Windows 10 1803 x64 (OS Build 17134.1845) Used shell version: Cygwin

Problem description

I see strange behavior when using commands like nano or man on Cygwin or even when I use CMD or Powershell and SSH into a Linux host and use nano or man. The issue is that the text that gets deleted still shows on screen.

Steps to reproduce

  1. Open nano on Cygwin
  2. Write a long text on a single line that gets displayed on multiple lines.
  3. Now from the end of the line try to remove the characters (using backspace).

Actual results

Text is getting deleted but the change is not reflected on the terminal.

Expected results

For the text to get deleted in real time.

Additional files

I recorded a video, on the right, you see ConEmu Terminal with Cygwin and I open nano and you can see the keystrokes I'm pressing in the middle. As you can see if I start removing characters from the beginning of line, the issue does not happen. On the left you see MinTTY with Cygwin with normal behavior.

https://github.com/Maximus5/ConEmu/assets/35542834/5a8b4a2a-b99d-4438-905f-162c80195c91

Thins I've tried

Extra note

I also mentioned strange behavior using command man. I could not reproduce this. But just one time that I was using the man command, I couldn't scroll up at all and text was getting duplicated and frozen and stuck on screen.

Thanks very much for this awesome program. I can't live without it a day.