Skip to content

feat: add interactive pager mode#52

Merged
harehare merged 2 commits into
mainfrom
feat/pager-mode
Jul 7, 2026
Merged

feat: add interactive pager mode#52
harehare merged 2 commits into
mainfrom
feat/pager-mode

Conversation

@harehare

@harehare harehare commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Add mq-view --pager for a full-screen, ratatui-based viewer with scrolling, a heading outline (Tab), incremental search (/, n/N), and auto-reload when the watched file changes on disk. Also fix local image rendering to no longer write directly to the terminal when a writer other than real stdout is in use, and enable crossterm's use-dev-tty feature so the pager still accepts keyboard input when markdown content is piped in via stdin.

harehare added 2 commits July 7, 2026 21:25
Add `mq-view --pager` for a full-screen, ratatui-based viewer with
scrolling, a heading outline (Tab), incremental search (/, n/N), and
auto-reload when the watched file changes on disk. Also fix local
image rendering to no longer write directly to the terminal when a
writer other than real stdout is in use, and enable crossterm's
use-dev-tty feature so the pager still accepts keyboard input when
markdown content is piped in via stdin.
The scroll-height calculation only subtracted the title row, so the
last line of the document could be cut off when scrolled to the
bottom.
@harehare harehare merged commit 05186e5 into main Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant