apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
992 stars 45 forks source link

formatting issue #152

Closed 909oce closed 3 months ago

909oce commented 3 months ago

theres a weird box and random x that started yesterday.

using flags --time --asterisks --remember, but it happens without them too

PXL_20240815_205002382.jpg

apognu commented 3 months ago

I will have a look. The weird box before "archlinux" rings a bell, so it might be easy to reproduce, hopefully. I will update this when I get access to a computer.

Thanks for reporting.

apognu commented 3 months ago

The weird character before the hostname seems to be due to the localization system adding (supposedly) invisible control characters around it, and ratatui 0.27 apparently rendering it in the Linux console. As a temporary measure, I now remove them before rendering them, which should fix this issue.

This is available on the main branch. Could you confirm?

I was not able to reproduce the x issue yet, though.

909oce commented 3 months ago

all fixed now. the x seems to be gone aswell. thank you for the quick update!