maaslalani / slides

Terminal based presentation tool
http://maaslalani.com/slides/
MIT License
9.65k stars 264 forks source link

Text wrapping is sometimes broken #211

Open xezo360hye opened 1 year ago

xezo360hye commented 1 year ago

Describe the bug When text on slide is two long, the slides tries to wrap it, but sometimes it does that inaccurately and removes one character as you can see on screenshot (look at first line on the first image and line 3 on the second). To clarify, this happens not only with - dash, but also happened with word To (the o was not displayed)

To Reproduce Steps to reproduce the behavior:

  1. Create a slide with long input
  2. Start slides
  3. Check for the error

Expected behavior Text should be wrapped without cutting characters

Screenshots Maximized window: image Normal window: image

Desktop (please complete the following information):

Additional context This is not a bug with konsole or whatever, the same behavior is seen in TTY