mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
Replace plain text LazyColumn with com.termux:terminal-view for module install (FlashZip) and module action screens, enabling real TTY control (ANSI escape sequences, cursor movement, colors) for third-party module scripts. Uses libsu's initialized shell environment with stdout/stderr redirected to a PTY slave, preserving the full Magisk environment while giving scripts a real terminal. MagiskInstaller operations (Direct/Patch/Uninstall/SecondSlot) retain the original LazyColumn plain-text display since they use our own scripts that don't need TTY features. Made-with: Cursor