Moar
is a terminal-based pager application, similar to more
or less
, designed for scrolling through files in the terminal. It supports basic navigation and is written in Rust.
- File Viewing: Display the contents of a file in the terminal.
- Scrolling: Navigate through the file using the keyboard.
- Scroll down:
Down Arrow
- Scroll up:
Up Arrow
- Quit:
q
- Scroll down:
- Terminal-Friendly: Optimized for terminal dimensions with dynamic resizing.
To use Moar
, you need to have Rust installed. You can install Rust from rust-lang.org.
- Clone the repository:
git clone https://github.com/roman91DE/moar.git cd moar
- Build the application:
make release
- Run the application:
./target/release/moar <filepath>
moar <filepath>
<filepath>
: Path to the file you want to view.
moar example.txt
q
: Quit the application.Up Arrow
: Scroll up.Down Arrow
: Scroll down.
- crossterm: For terminal interaction and handling input/output.
Contributions are welcome! Feel free to submit a pull request or open an issue.
This project is licensed under the MIT License. See the LICENSE file for details.
Inspired by the classic more
and less
pager utilities.