Files
Magisk/app
topjohnwu 1f86825151 app: redraw terminal after resizing
The terminal emulator lives in the ViewModel and survives Activity
recreation, but a recreated TerminalScreen draws its first frame
before LaunchedEffect resizes the emulator to the new viewport.
Nothing invalidated the drawing after the resize, so after rotating,
the screen kept showing rows laid out for the old geometry instead of
the end of the output, and the scrollbars used stale values.

Refresh the snapshot state and redraw after every resize, through the
same path used for new output, and keep a scrolled-up position within
the transcript.

Assisted-by: Claude Opus 5.5
2026-10-24 13:01:45 -07:00
..
2026-10-24 13:01:45 -07:00
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00