GitShow/sharkdp/riffle
sharkdp

riffle

A simple terminal pager (as a library)

by sharkdp
Star on GitHubFork

Rust

46 stars1 forks1 contributorQuiet · 4y agoSince 2020

Meet the team

See all 1 on GitHub →
sharkdp
sharkdp17 contributions

Languages

View on GitHub →
Rust100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 discussions · Last activity 4y ago
See all on GitHub →
sharkdp
Design goalsOpenIssue

Advantages of a "pager" as a library: Make everything easily configurable: custom header and footer messages, keybindings Bidirectional communication: send events like "terminal resize" or key presses back to the application to trigger a redraw or other actions. A few advantages if we would use a builtin pager in : Have one consistent pager experience across all operating systems. No need to call external programs that might not be available. No special handling / bug fixing for different versions of . Consistent "quit if one screen" handling (#860, #1000, #717, #710, #681, #520, #415, #312, #271, #519, #376, #887, #943, #838, …) Handling of terminal resize events (#294, #322, #921, #1009) Open editor with a key press (#358, #464, #528, #697) Possibility to always draw the header at the top of the screen, even when scrolling down (#908) Builtin support (#457, #808) Special handling for multiple files? (press 'n' to go to the next file) Error handling: we could print errors/warnings in the footer of the pager, instead of in the background (#946) Better 'tab' handling (#980, #894) Handling of ANSI hyperlinks (#961) Disable style components via keypress. For example: switch off the side bar with a keypress - for easy copy&paste.

sharkdp · 4y ago
sharkdp
Implement easy searchOpenIssue

and commands for forwards/backwards search n and N for forwards/backwards jumping through results.

sharkdp · 4y ago

Recent fixes

View closed PRs →
sharkdp
Press 'v' to open editorClosedIssue
sharkdp · 4y ago
Structured data for AI agents

Repository: sharkdp/riffle. Description: A simple terminal pager (as a library) Stars: 46, Forks: 1. Primary language: Rust. Languages: Rust (100%). Open PRs: 0, open issues: 2. Last activity: 4y ago. Community health: 28%. Top contributors: sharkdp.

·@ofershap

Replace github.com with gitshow.dev