+**Interactive terminal.** The Terminal opens a real shell on a pseudo-terminal, so programs that take over the screen or read single keys work as they do on a computer: nano, fzf, Python and Node REPLs, `top`, prompts that ask for single keys, and git's interactive modes such as `git add -p`. Keys go straight to the running program and Ctrl+C reaches the foreground job. The screen follows xterm: 16, 256 and true color, bold, italic, underline and inverse text, the alternate screen used by full-screen apps, scroll regions, line drawing characters, wide CJK and emoji cells, bracketed paste, and mouse clicks and wheel. Resizing (rotation, the keyboard opening, a split window) tells the program the new size, so full-screen apps redraw, and the session lives at the app level, so leaving the screen or rotating keeps it running with its scrollback. Two rows of Material 3 Expressive extra keys give Esc, Ctrl, Alt, Tab, Home, End, Page Up, Page Down, arrows, `/`, `-` and a Ctrl+C key, and Fn opens F1 to F12, Insert, Delete and common symbols. Ctrl and Alt work on the next key after one tap and stay on after a second tap, and keys that repeat (arrows, Delete) repeat while held. Hardware keyboards send arrows, function keys and Ctrl, Alt and Shift combinations, Ctrl+Shift+V pastes and Ctrl+Shift+C copies. Pinch changes the text size, scrolling moves through up to 3,000 lines of output, and long-press pastes. The shell is bash from the Linux environment with a colored prompt and the current folder in the header, or Android's basic shell when the Linux environment is not installed. It runs as the app user in the local workspace; Shizuku, Wireless ADB, root and SSH workspaces keep using command mode, and the button beside the title switches between the two. Running `su` inside the interactive terminal gives a root shell on a rooted device. Lines are not re-wrapped when the width changes, and storage cleanup asks you to close the interactive terminal first.
0 commit comments