Проводные цветовые блоки при запуске программы CLI на основе Python и Prompt_toolkit в cmder ⇐ Python
-
Anonymous
Проводные цветовые блоки при запуске программы CLI на основе Python и Prompt_toolkit в cmder
When running a Python CLI program based on prompt_toolkit 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 looks fine in powershell: enter image description here wired in cmder: enter image description here
how to slove this problem to make the UI looks good
Источник: https://stackoverflow.com/questions/780 ... pt-toolkit
When running a Python CLI program based on prompt_toolkit 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 looks fine in powershell: enter image description here wired in cmder: enter image description here
how to slove this problem to make the UI looks good
Источник: https://stackoverflow.com/questions/780 ... pt-toolkit