feat/display #9

Merged
genewildish merged 3 commits from feat/display into main 2026-03-15 06:25:57 +00:00
Owner

Extract fetch module + non-blocking ntfy banner

Refactors the display loop so ntfy messages no longer freeze the scroll. Extracts feed/cache logic into its own module.

Changes:

• engine/fetch.py — new module housing fetch_feed, fetch_all, fetch_poetry, load_cache, and save_cache, pulled out of mainline.py
• Top-pinned message banner — ntfy notifications now render as a compact zone pinned to the top of the screen (rendered text + meta line + border) instead of taking over the full scroll area. Scroll and firehose continue running underneath, with the scroll zone dynamically shrinking to accommodate the banner (scroll_h = sh - msg_h)
• Scroll positioning fix — all ANSI row addresses now use scr_row = msg_h + r + 1 so content draws below the message zone when active
• Glitch targeting — glitch bars are indexed relative to the scroll region via scroll_buf_start/scroll_buf_len, so they never hit the message banner or firehose

Extract fetch module + non-blocking ntfy banner Refactors the display loop so ntfy messages no longer freeze the scroll. Extracts feed/cache logic into its own module. Changes: • engine/fetch.py — new module housing fetch_feed, fetch_all, fetch_poetry, load_cache, and save_cache, pulled out of mainline.py • Top-pinned message banner — ntfy notifications now render as a compact zone pinned to the top of the screen (rendered text + meta line + border) instead of taking over the full scroll area. Scroll and firehose continue running underneath, with the scroll zone dynamically shrinking to accommodate the banner (scroll_h = sh - msg_h) • Scroll positioning fix — all ANSI row addresses now use scr_row = msg_h + r + 1 so content draws below the message zone when active • Glitch targeting — glitch bars are indexed relative to the scroll region via scroll_buf_start/scroll_buf_len, so they never hit the message banner or firehose
genewildish added 2 commits 2026-03-15 06:25:45 +00:00
genewildish added 1 commit 2026-03-15 06:25:51 +00:00
genewildish merged commit 0e500d1b71 into main 2026-03-15 06:25:57 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: genewildish/Mainline#9