feat/display #9
Reference in New Issue
Block a user
Delete Branch "feat/display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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