boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
479 stars 36 forks source link

Rendering issue on small screens (PinePhone) #163

Closed tfardet closed 4 months ago

tfardet commented 2 years ago

On mobile device screens, the 0.2.4 release has some rendering issues associated to the small terminal width:

Potential solutions:

  1. detect terminal width in char numbers and adapt QR code or use PNG in that case
  2. put message time and contact name on two lines
  3. compute contact name length and only use initials
  4. mark date only once on a separate (centered?) line and mark only time on the message line
  5. use a combination of 2, 3, and 4

Illustration of the issue

Current look:

[data] [time] [contact name]: This is
                              how the
                              message
                              looks

Proposed solution

                [date]

[time] [CN]: This is how the message
             could look.

[time] [me]: And this is an answer.
boxdot commented 4 months ago

Done in #164