mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-06 15:30:46 -05:00
Add terminal view for module flash/action screens with TTY support
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
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-sdk tools:overrideLibrary="com.termux.view, com.termux.terminal" />
|
||||
|
||||
<application android:localeConfig="@xml/locale_config">
|
||||
<activity
|
||||
android:name=".ui.MainActivity"
|
||||
|
||||
Reference in New Issue
Block a user