ttscoff/mdless

Adapt to bash viewport

leder11011 opened this issue · 2 comments

When I start viewing a markdown file, then it formats line end properly. But when I change the terminal size, then the line breaks are kept and not resized. I tested this on termux android app in both orientations: portrait and landscape. I can retest with sizing of desktop xterm.

Thanks for a great app!

Best regards
Gerrit

mdless would have to implement an internal pager vs. relying on external pagers. Then it could do this via periodically checking the terminal width or via checking the same on document navigation keystrokes. Re-rendering as necessary.