Releases: subbaan/litreader
Releases · subbaan/litreader
v2.7.6 - Fix scroll jump, mouse wheel scroll
What's new in v2.7.6
Bug fix: scroll jump when returning to litreader
Mouse wheel scrolling in another Kitty window (or over the XFCE4 desktop) caused XInput2's scroll valuator to accumulate, delivering a burst of events on return — making litreader jump many lines from a single wheel click. A 15ms burst rate limiter on scroll handlers across all screens prevents this.
Mouse wheel scroll in story viewer
Mouse wheel now scrolls 3 lines per click in the story viewer. Keyboard j/k still scroll 1 line. All list screens (favorites, bookmarks, authors, etc.) scroll 1 line per wheel click.
Download
litreader— Linux x86-64 binary
v2.7.5 - Wrap-Around Navigation
What's New
- Wrap-around navigation on all list screens: pressing up at the top of a list jumps to the last entry, pressing down at the bottom jumps back to the first entry. The scroll window follows correctly in both directions.
Screens updated
- Main dashboard (faved in-progress stories)
- Favorites list (
f) - Authors list (
a) - Search results
- Bookmarks
v2.7.3
v2.7.3 — Editor word wrap
Added word wrap to the built-in editor, matching the viewer's existing wrap feature.
New:
Ctrl+Wtoggles word wrap on/off in the editor (footer shows^W:Wrap[ON]when active)- Long lines are wrapped at word boundaries to fit the terminal width
- Up/Down arrows navigate by visual row when wrap is on — the cursor moves one wrapped row at a time through a paragraph rather than jumping the entire logical line
- Page Up/Page Down also scroll by visual rows in wrap mode
v2.7.2 - Direct file open from command line
What's New
- Direct file open:
litreader somefile.txtopens a file immediately in the viewer, bypassing the library dashboard - Pressing
qor←exits back to the terminal (not the dashboard) - Reading position is saved on exit as usual
- Invalid/missing file paths print an error and exit cleanly
litreaderwith no arguments continues to open the dashboard normally
v2.7.1
Fix left-arrow exit from viewer not saving reading position
- Save reading position when exiting viewer with left arrow (matching
qbehavior) - Prevent unintended viewer exit during search match navigation — left arrow now stays in the viewer when matches are active
v2.7.0 - ShowRatings config toggle
What's New
- ShowRatings config toggle: New boolean setting (default
true) to hide rating columns and sort-by-rating options across all views. Useful for libraries that don't have ratings.
Details
- Rating columns hidden in: search results, favorites, bookmarks, explore authors, author files, dashboard (stats + in-progress stories), and author info panel
- Sort-by-rating options skipped when cycling with
tin search, favorites, and explore authors views - Toggle via config editor (
cfrom dashboard → "Show Ratings" → Space) - Existing rated libraries are unaffected (setting defaults to
true)
v2.6.8
Fixes
- Space bar in editor: Handle
tea.KeySpaceevent so pressing space inserts a space character (Bubbletea v1.3.10 sends this as a separate key type) - Tab rendering: Expand tab characters to spaces for display, fixing ghost characters (remnant letters from terminal buffer) appearing where tabs should be. Cursor positioning now correctly accounts for tab-expanded width.
v2.6.6
What's New
- Explore author from search results: Press
eon a search result to open that author's file list; back navigation returns to search results - CP1252 encoding support: Non-UTF-8 files (commonly Windows-1252) now display correctly — smart quotes, curly apostrophes, em dashes, and other special characters are converted to plain ASCII equivalents instead of showing
�replacement characters
v2.6.3 - Grouped help bar layout
What's Changed
- Redesigned viewer help bar: Items are now semantically grouped with pipe separators instead of greedy flow wrapping
- 3-line default layout: Navigation, actions, and utilities each get their own line for better readability
- Narrow terminal support: Falls back to 4 lines on terminals under 70 columns wide
- Removed unused
flowHelpItems()function
v2.6.2 - Fix juddering scroll in word-wrap mode
What's Changed
- Smooth word-wrap scrolling: Each keypress now scrolls exactly one display row instead of jumping by entire source lines when word-wrap is enabled. Long wrapped lines no longer cause jerky 3-5 row jumps.
Details
- Added display-row offset tracking within the top source line
- Up/down keys increment one wrapped row at a time
- Offset resets correctly on page jumps, bookmarks, search nav, and wrap toggle