Repository navigation
Version 0.34.0
New Features
- HTML pages that drive agterm. A page opened with
session overlay open --htmlcan run control commands. A button or form taggeddata-agterm="<command>"sends that request with the page's JavaScript off, and a--jspage also getsagterm.request(cmd, {target, args}), which resolves with the reply. A command left without a target acts on the page's own session, window or pane. A page can also answer the script that opened it:session.overlay.submitrecords a value and closes the page, andsession overlay open --html FILE --blockwaits and prints the outcome, exiting 0 when answered and 2 when the page closes unanswered.session overlay result --page IDreads an outcome after the page is gone, andsession overlay submit --value TEXTanswers a page from the CLI. The open reply carriespageID, whichtreereports ashtmlOverlays[].id. URL pages and frames get no bridge, and commands that stream are refused #672 @umputun - Remote panes reconnect after ssh loses the connection. A pane attached with
zmx attachused to end for good when ssh exited 255. It now keeps its last screen, shows a bar naming the host, and attaches again once the host answers, retried on the stream's backoff. Any key retries at once and ⌘W still closes the session. A changed host key or a removed key also exits 255, so such a pane keeps saying it is reconnecting without showing ssh's reason #655 @wildsurfer - Settings ▸ General ▸ Sessions gains New sessions are added: at the end of the workspace, as before, or right after the current session. It covers New Session from the menu, palette, keymap, Dock, sidebar footer and a workspace row's New Session and +. Open Directory, folder drops and
open -akeep appending #665 @airs0urce
Bug Fixes
- ⌘+, ⌘- and ⌘0 over an HTML overlay resized the terminal hidden under the page. They now zoom the page, and so does
font inc|dec|resetwhen a page covers the addressed terminal. The zoom is one app-wide value that persists across pages and reads back astree'shtmlOverlays[].zoom#670 @umputun - a Control-click on a sidebar row selected or toggled it instead of opening its context menu, and on a workspace row's + it created a session. Both now open the row menu #669 @umputun #668
- reloading an HTML overlay whose first load never finished did nothing, so a failed page stayed failed. Reload now loads the source again ec925f6 @umputun
Signed with a Developer ID certificate and notarized by Apple, so macOS Gatekeeper opens it with no extra steps. Apple Silicon (arm64) only, macOS 14 or later.
- Homebrew:
brew install --cask umputun/apps/agterm - Direct download: open the
.dmgand dragagterm.appinto/Applications.