prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.1k stars 717 forks source link

wired color blocks when running a full_screen app in cmder #1857

Open kkhaveabigdream opened 3 months ago

kkhaveabigdream commented 3 months ago

When running a full_screen app in cmder, there are strange color blocks in the UI. It appears to be a problem with Chinese character parsing, as lines containing Chinese characters render with color blocks exceeding their expected length. However, this issue does not occur in PowerShell. By the way, i have ran chcp 65001(use utf8) in cmder

looks fine in powershell: 1 wired in cmder: 2

jonathanslenders commented 3 months ago

How does it behave in other terminal applications? Like Windows Terminal (from the Microsoft Store) or Alacritty? This could be a bug in cmder.

kkhaveabigdream commented 3 months ago

It behaves good like in powershell when running in Windows Terminal. I'm thinking it might be a ConEmu issue.