Moar is a pager. It's designed to just do the right thing without any configuration.
Before this release, searching was single threaded.
With this release, searching now uses all available cores, which makes searching large files a lot faster.
Searching a nine hundred thousand lines file now works fine on my laptop, which it did not before.
Noticeable in large files. This is relative to the previous release, where we would on average search the whole file 1.5 times.
With this change, we will on average search the whole file once.
Search now wraps automatically when typing. This enables finding hits above the cursor without having to exit the search and press n
.
Search hits are now always highlighted in the default colors. This improves the search experience in riff
highlighted diffs:
With this release, mouse copying works out of the box in the IntelliJ and VSCode terminals.
Before this release, we just didn't highlight in this case.
With this change in place, we now fall back on the default dark theme when background color detection fails.
Fixes #202
With this release, doing moar README.md.gz
will properly highlight the transparently uncompressed file as Markdown.
Before this release, if you did sudo whoami | moar
, moar
would prevent you from entering your password at the sudo
prompt.
With this release, moar
will wait for the first byte to arrive before bringing up its UI, enabling you to enter your password in peace.
By default. Press left arrow to get them back. Or use start moar
with --no-linenumbers=false
.
man
starts by checking the terminal width, and then formats man pages to fit that width.
Then, if moar
adds line numbers, the rightmost part of the man page will be shifted out of view.
So we try to detect showing man pages, and in that case disable line numbers so that the rightmost part of the page is visible by default.
If the archive contains text files, this can let you to read those text files.
Note that this does not imply support for viewing archives. moar
is not an archive viewer. If it breaks, you get to keep both pieces.