walles / moar

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

Wrapping long lines #5

Closed tigra closed 4 years ago

tigra commented 8 years ago

Is is possible to switch between wrapping long lines and chopping them (in less, achieved with "-S")? Haven't find this feature.

walles commented 8 years ago

Not currently, no, you'll have to scroll sideways to see the ends of the long lines just like with less -S.

Can you describe the situation in which you prefer wrapping to scrolling left / right?

What's your use case? What kind of text are you looking at, how large is your window, how far do you need to scroll sideways to see what you want etc?

Hund commented 5 years ago

Reading articles is re lly annoying when th ey're cut in half like t is.

I use a little script for Newsboat that fetches articles and then displays them using less. I wish I could read all articles in Newsboat itself, but unfortunately some are trying to force you to their websites to generate views and profit from ads.

walles commented 5 years ago

@Hund, moar doesn't support what you are reporting.

Can you provide a screenshot?

Also, it seems you have the opposite problem of what's being reported in this ticket, maybe open another one?

Hund commented 5 years ago

I know. That's why I replied to this ticket where someone else asked for it as well.

walles commented 5 years ago

Please provide a screenshot of moar doing what you don't want.

Hund commented 5 years ago

Ops. I was trying out several options and it looks like I mixed up moar and most. It was moar that I couldn't use.

$ ./moar-0.9.6.rb <file>
/usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- curses (LoadError)
    from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from ./moar-0.9.6.rb:9:in `<main>'

Do you want me to create a new issue for it? :)

walles commented 5 years ago

Please do @Hund!

walles commented 4 years ago

@tigra, care to explain your use case?

Can you describe the situation in which you prefer wrapping to scrolling left / right?

What kind of text are you looking at, how large is your window, how far do you need to scroll sideways to see what you want etc?

walles commented 4 years ago

Closed because I don't understand the request.