SUMMARY Unicode characters that require more than one place to display are cut off if the color or background of the following whitespace is different. If the same color is specified in sequence the character displays without being cut off. STEPS TO REPRODUCE echo -e "This works: \e[43m \e[0m" echo -e "This works: \e[32m\e[0m\e[32m \e[0m" echo -e "This works: \e[43m\e[0m\e[43m \e[0m" echo -e "This doesn't work: \e[32m\e[0m\e[31m \e[0m" echo -e "This doesn't work: \e[43m\e[0m\e[44m \e[0m" OBSERVED RESULT Unicode characters are clipped on the last two commands EXPECTED RESULT Unicode characters are not cut off by whitespace characters of a different color or background. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro KDE Plasma 20.0.3 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION This works identically on bash and zsh.
Created attachment 131314 [details] Another demonstration screenshot. Just wanted to confirm this bug and provide a few screenshots. As you can see a few pixels are trimmed off the left side of my folder and clock glyphs in my prompt line, and also at the beginning of a line but not when surrounded by same color spaces.
Created attachment 131315 [details] Screenshot Reproduction of Report
*** Bug 427308 has been marked as a duplicate of this bug. ***
I’m not really a fan of emojis etc. but it tends to be used often nowadays. Also, the same problem happens with Nerd fonts icons.