Repository navigation
release-v1.0.12 - Native Termux Terminal Emulator
·
5 commits
to main
since this release
What's Changed in v1.0.12
🖥️ Native Termux Terminal Engine Integration
- Embedded Termux Terminal Emulator: Replaced the plain-text transcript with a fully native Android terminal emulator view (
opencode-terminallocal Expo Module) powered by Termux's battle-tested terminal engine (com.termux.terminalandcom.termux.view). - Full VT100 / VT220 / xterm Compatibility: Full support for ANSI escape codes, 256 colors / 24-bit true color, alternative screen buffers (for full-screen interactive TUIs like
vim,nano,htop,fzf), and hardware-accelerated canvas text rendering. - Remote WebSocket PTY Streaming: Custom
TerminalSessionengineered for remote opencode server streaming without requiring local JNI subprocess forks. - Dynamic Terminal Sizing: View layout and font size changes automatically calculate character grid dimensions and notify the backend PTY session to resize.
- Theme Matching: Seamless color palette integration matching HeroUI / Uniwind dark and light modes (background, foreground, cursor, and 16 ANSI colors).
⌨️ Mobile Input & Usability Improvements
- Interactive Keyboard Input: Enabled native touch focus and proper Android IME text attributes (
TYPE_CLASS_TEXT) so virtual keyboards (Gboard, Samsung, MIUI) open and dispatch keystrokes reliably. - Display Density Font Scaling: Fixed raw pixel scaling by applying Android
scaledDensitymetrics, ensuring sharp and readable text across various device DPIs. - Pinch-to-Zoom Scaling: Zoom terminal font size dynamically on screen using two-finger pinch gestures.
- Keyboard Toolbar & Command Bar:
- Added a dedicated Keyboard toggle button to easily summon the software keyboard.
- Added an inline command input bar with a Send button.
- Added quick modifier buttons for
Tab,Ctrl+C,Ctrl+D,Esc, arrow keys (↑,↓,←,→),Enter, andClear.
📦 Build & Release
- Added standalone
arm64-v8arelease APK with the new native module.