FedericoBruzzone / tgt

TUI for Telegram written in Rust 🦀
Apache License 2.0
378 stars 13 forks source link

[bug]: Formatting/UI issues with RTL text #66

Open elogikalaf opened 1 month ago

elogikalaf commented 1 month ago

Describe the bug

the UI is messed up and unusable with RTL text, also the text itself isn't formatted correctly and some letters are messed up and unreadable. such as ی.

Reproduction steps

  1. open tgt
  2. try to use it in chats with RTL text
  3. ...

Expected behavior

I expect the application to be format RTL text correctly.

Logs and screenshots

here some of the chat names are injected into the current chat messages and some of the chat messages are far left and into the list of chats. in the forth row of the chat lists, there's a message from the current chat and in the current chat window there's the name of one of my contacts image

Method of Installation

Cargo

tgt version

cargo 1.81.0 (2dbb1af80 2024-08-20)

Operating System (including version and architecture)

fedora 40

Terminal and Command Line Interface (CLI) (including versions)

gnome-terminal, zsh, ddterm

rustc and rustup target (including versions)

No response

Andreal2000 commented 1 month ago

Hi, Thanks for opening a issue. We will add this issue to the important ones to fix for the next release.