mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Add ProgressOutputStream and wrap both the raw input stream and output stream in runWholeFilePatcher so read and write progress and speeds are tracked independently. Render read and write progress on two in-place lines in the terminal to fit narrow screens, and support multi-line in-place updates in appendLineOnMain using ANSI cursor movement and erase-in-display. Assisted-by: Gemini 4 Argon