Repository navigation
v1.2 - Flicker-Free Scrolling
What's New
Flicker-Free Scrolling & Navigation
- Replaced CLS-based full redraws with in-place line overwriting using space-padded strings -- eliminates the visible blank frame that caused screen flicker
- Added UpdateMenuCursor() for lightweight 2-line differential updates when moving Up/Down within the visible page, making cursor navigation near-instant
- Applied flicker-free rendering across all scrollable screens: menu, text viewer, bookmarks, and recently visited
Technical Details
- New blankLine$ global (42-char space string) used for efficient line padding
- All display routines (DisplayMenu, DisplayTextPage, ShowBookmarks, ShowRecent) now overwrite every line slot to full width, blanking unused positions
- HandleInput() checks whether Up/Down movement stays within the visible [pageStart, pageEnd] range; if so, only 2 lines are repainted instead of 25+
Full Changelog: v1.1...v1.2