walles / moar

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

Hide bottom bar to better replicate less? #81

Closed GNOMES closed 2 years ago

GNOMES commented 2 years ago

Is there a flag to hide the bottom bar to act more like less?

walles commented 2 years ago

I find the bottom bar provides useful information, without taking up almost any screen real estate.

In what situation do you think moar would be better off without the bottom bar?

GNOMES commented 2 years ago

Personally the white line is a bit bright on a black background.

I could see a toggle to disable it outright, or a flag to invert the colors so it matches less.

walles commented 2 years ago

Here's me doing less /etc/bashrc. Is it something like this you are after?

Otherwise, could you provide a screenshot showing off how you'd like it?

less-bashrc
GNOMES commented 2 years ago

That's great, and positions moar as more of a "less + colors drop in replacement".

walles commented 2 years ago

If inverted is too bright...

Personally the white line is a bit bright on a black background.

... but then regarding less' inverted text...

That's great

... is inverted text all right or is it too bright?

Or is it that your terminal color settings are different from mine? If you could post a screenshot of your terminal window with moar running that would be super!

Also, here's less again but I pressed =. Which do you like best, this one (which is what I used as inspiration for the moar status line) or the previous one I posted?

less-bashrc-=
GNOMES commented 2 years ago

I am not against having a status line.

Less w/o hitting = button Screen Shot 2022-02-18 at 10 44 04

This is less on my box after hitting the = button.

Screen Shot 2022-02-18 at 10 29 03

The big complaint was against the white bar with black text spanning terminal window.

I would be happy with any of the three options:

  1. Feature flag to hide bar ( original question ).

  2. Flag to allow white text on black background ( My new preferred choice after I realized that Less always has had a status bar. The white bar in Moar made it jump out to me. The Less color scheme blended in... )

  3. Flag for the "minimal" bar in your screenshot. It's less "bright", and it gives a Less w/o = button appearance.

  4. Flag to preserve the Less styling of ":" only, and keep white bar on hitting = as it was your design choice.

Regardless of your decision on the matter, I would think a feature flag would be best so people have choice.

walles commented 2 years ago

Made an 1.8.5 release supporting three status bar flavors (see below).

Binaries available on the release page, homebrew in progress: https://github.com/Homebrew/homebrew-core/pull/95396

Skärmavbild 2022-02-18 kl  19 23 31 Skärmavbild 2022-02-18 kl  19 23 45 Skärmavbild 2022-02-18 kl  19 23 19