henriklovhaug / md-tui

Markdown renderer in the terminal
GNU Affero General Public License v3.0
208 stars 13 forks source link

Resizing to less than configured width crashes the app #69

Closed tobiashaugeland closed 7 months ago

tobiashaugeland commented 8 months ago

Resizing your terminal window width to less than the width of the application crashes the app. This also happens when trying to open a file with a too narrow window. Maybe correct behaviour should be that the configured width is the maximum width, and it should dynamically decrease the width if the window width goes below.

henriklovhaug commented 8 months ago

I need the markdown example that causes this. Not all of them makes it crash