walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
585 stars 17 forks source link

man pages with line numbers #200

Closed rwmitchell closed 3 months ago

rwmitchell commented 3 months ago

It appears when using moar to display man pages, the text is flowed to fit the window size before line numbers are prefixed. This causes many lines to extend beyond the right margin.

Using right-arrow once does shift the document left which removes the line numbers and fits the text properly in the window. It could be argued line numbers are silly in this case but the default is for them to be enabled.

ps: I'm sure somehow this is user error

walles commented 3 months ago

This has been bugging me as well, thanks for the poke!

I don't see what I could do about the root cause, but this should be handled at least as of 81068241169fd418a5b13882d08dd34b66051a09, explanation within.