Compose the desktop and ZX frames in native TSX (entry, tab bar menus, prompts, screens), with the old Ziran entry files becoming the desktop host and ZX screen modules. Export TerminalPane and TerminalPaneScrollIndicator TSX components for embedded drawing. Pin Kryon 6dd57498151ea2d0cb08db5f835aa2593aaef7e7 with the first-frame ownership resize fix in ziran.toml, ziran.lock and AGENTS.md.
The window, PTY-aware activity waits, frame pacing, fullscreen, monitor
placement, dropped files and typefaces now come from Kryon's
desktop_runtime, desktop_window_state, desktop_keyboard, desktop_activity
and cairo_typefaces, so the build has no CMake raylib step. Pins Kryon
b5a61b37 with Ziran 7fbc8152.
The desktop host reports button edges and wheel steps per poll, and the
loop polls several times per frame while it waits on the shells, so the
window keeps them, with the press position, until the frame reads them. A
Ctrl shortcut a key press triggered stays delivered while the key is held,
so Ctrl+V never also types its control byte. Text dialogs opt into
closing on an outside click under Kryon's modals. The tests' paint host
answers the new cursor-picture call, and the context-menu OCR reads a
400% capture.
Selections publish the system PRIMARY selection; middle-click, Shift+Insert
and Paste Selection read it, and never fall back to CLIPBOARD. Ctrl+V pastes
a clipboard PNG as a private file path and falls back to text, while
Ctrl+Shift+V and Paste stay text-only. Copy as HTML offers plain text and
escaped HTML through Kryon's MIME clipboard, and Kryon's image clipboard
replaces the local GTK reader.
Alt-click and Ctrl-click open web links, OSC 8 hyperlinks and e-mail
addresses through kryon/open_uri in standalone and embedded windows, with a
pointer cursor over links.
The right-click menu matches xfce4-terminal 1.1.4: link and e-mail actions,
Open Tab/Terminal/File Manager Here, Copy, Copy as HTML, Paste, Paste
Selection, Show Menubar/Fullscreen/Read-Only check rows, Send Signal and Zoom
submenus, Save Contents and Preferences. Right-click keeps the selection and
copies nothing until a copy action is chosen.
make install also installs the Xfce TerminalEmulator helper. Terminal starts
in HOME unless told otherwise, so the helper passes --working-directory=. for
the folder Exo starts it in, and runs launch commands with -x because Exo
splits them into words. Thunar's Open Terminal Here and exo-open now open the
selected folder.
Terminal builds against Kryon's package-qualified widget imports now that the
Widgets facade and *_props modules are gone, and the lock moves to the Kryon
commit with the PRIMARY API and to the matching Ziran toolchain. CI installs
the GTK, X11 and xcb development files, ImageMagick, tesseract and exo-utils
the build and the new window tests need.
The application context-menu test follows the new menu by label. The link
test focuses the window and Shift+right-clicks while the child tracks the
mouse; the selection test uses a window tall enough to reach Copy and gives
each menu copy a fresh CLIPBOARD owner; the rendered-menu test reads 2x
captures and waits for the submenu; the Thunar test launches the real
Terminal through Exo.
Ziran no longer has the C++ or Plan 9 targets, so the Plan 9 build,
PTY, test hosts and plan9-c targets go, with the C++ test variants.
Bundles use the .zx suffix, the test hosts provide Kryon's mesh raster
call, and ziran.lock pins Ziran 8e36629 and Kryon c3840d2.
The command, desktop launcher, Debian package and AppImage are named
terminal, with no t9 alias. Configuration lives in
~/.config/terminal/config and saved sessions in
~/.local/state/terminal/session (Plan 9: /lib/terminal). The Ziran
package and import prefix is terminal, build and test variables are
TERMINAL_*, and Rill is asked to "open terminal".