drift is a git diff viewer that acts like a pager, with syntax highlighting and live watching of index/branch changes.
Highlights
β¨ Query terminal capabilities on startup
uncurses 0.0.3 stopped probing the terminal at startup, which left synchronized output and grapheme-cluster measurement off. drift now queries capabilities once on startup and adopts what the terminal reports:
- Synchronized output (mode 2026) β frames are drawn atomically, so no tearing or flicker on redraw.
- Grapheme clusters / Unicode core (mode 2027) β emoji, flags, and combined characters measure and align the same way the terminal renders them.
- In-band resize (mode 2048) β resizes arrive on the event stream with pixel dimensions instead of only through
SIGWINCH.
Each mode is enabled only when the terminal reports it as supported, so terminals without these features are unaffected.
Full Changelog: v0.0.7...v0.0.8