aboutsummaryrefslogtreecommitdiff
path: root/src/pane
AgeCommit message (Collapse)Author
2026-09-20fix: recover the cursor during animated redraws (#4404)JJ Liebig
refs #4303
2026-09-19fix: stabilize windows cursor redraws and settle deadlines (#4389)JJ Liebig
* fix: prevent cursor jumps during synchronized redraws refs #4303 * fix: settle cursor positions across delayed windows redraws refs #4303 * fix(windows): hold jump-shaped cursor moves through the max window * fix: bound windows cursor settling and repaint at its deadline refs #4303 --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com> Co-authored-by: JJLiebig <jj@liebig.gg> Co-authored-by: Axel Karlsson <axelalbertkarlsson@outlook.com>
2026-09-19feat: add configurable pane screen and scrollback clearing (#4383)Can Celik
2026-09-14fix: keep modified enter compatible with legacy panes (#4110)Eric Yue
* fix: keep modified enter compatible with legacy panes refs #4103 * fix: synchronize modified key negotiation state refs #4103 * test: cover windows legacy modified enter refs #4103 --------- Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
2026-09-13feat: add ctrl-hover highlighting and fix wrapped links (#4074)Can Celik
refs #1282
2026-09-13fix: restore alternate-screen pane width (#4016)Can Celik
refs #3329
2026-09-11fix: keep terminal snapshots consistent while scrolling (#3928)Can Celik
refs #3900
2026-09-10chore: upgrade libghostty and preserve terminal behavior (#3906)Can Celik
2026-09-06feat: manage multiple ssh machines from one client (#3670)Can Celik
2026-09-05fix: run the full applicable test suite on windows (#3660)JJ Liebig
* fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup
2026-09-05fix: preserve pixel mouse after sgr reassertion (#3637)akbash
refs #3295 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-03perf: compress idle terminal scrollback (#3556)Can Celik
2026-09-02fix: include short viewport output in recent reads (#3448)akbash
refs #3444 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-01refactor: render the shell in the client (#3487)Can Celik
* feat: add opt-in client-rendered shell * feat: add client-owned shell mouse controls * feat: complete client-owned shell chrome * feat: add client-owned shell settings and notifications * feat: run client shell custom commands * feat: render popup terminals in client shell * feat: add client-owned scrollback and copy mode * fix: preserve client worktree trust defaults * feat: render startup diagnostics in client shell * feat: render onboarding in client shell * feat: render product announcements in client shell * feat: render release notes in client shell * feat: render mobile switcher in client shell * feat: render kitty graphics in client shell * fix: preserve client shell lifecycle coherence * refactor: route client shell commands through endpoint connections * refactor: make the client-rendered shell the default * refactor: remove monolithic launch mode * refactor: complete client-rendered shell cutover * perf: retain client pane surface updates * perf: scale retained pane surface updates * perf: remove remote pane input latency * test: make client shell checks platform-independent * fix: prevent client timer starvation * test: fix client shell platform gates * test: accept retained surfaces in cross-area checks * test: make client mode assertions platform-neutral * fix: badge only outdated integrations
2026-08-23fix(windows): preserve non-us shifted text (#3055)Can Celik
* fix(windows): preserve non-us shifted text refs #3045 * fix(windows): retain shifted key repeat lifecycle refs #3045
2026-08-20fix(input): preserve mouse forwarding through handoff (#3002)akbash
refs #3000 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-19fix(perf): eliminate redundant terminal wake work (#2962)Can Celik
* fix(perf): eliminate redundant terminal wake work * fix(perf): harden release benchmark gate * test(perf): strengthen performance guardrails
2026-08-13fix: preserve logical lines in scrollback editor (#2735)akbash
refs #2733 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-11feat: keep the outer terminal window title in sync with the session (#2627)David Heinemeier Hansson
* feat: keep the outer terminal window title in sync with the session Herdr emulates the terminals in its panes, so an OSC 0/OSC 2 title written inside a pane stops at Herdr and never reaches the terminal Herdr itself runs in. That outer title is what window managers read for title bars, tab bars, and group bars, so it kept showing whatever the shell or ssh happened to leave behind. Add `ui.window_title`, rendered from {hostname}, {workspace}, {tab}, {pane}, and {terminal_title}, and push it to the foreground client whenever it changes. It renders on the server, so {hostname} names the machine the panes actually run on rather than the machine a thin remote client runs on, and it is gated on a pending render so an idle loop never pays for it. A title is only remembered as delivered once a foreground client takes it, so the first client to attach is written to rather than skipped. `client.window_title.set` still wins over the configured title, and clearing it now hands the title back to `ui.window_title` instead of only "herdr". * fix: deliver the outer window title to a newly attached client ClientConnected assigns the foreground client directly rather than going through promote_client_to_foreground, so clearing the sent-title cache there missed the case that matters most: attaching a second terminal to a running session. The title was usually unchanged, so the sync returned early and the new terminal kept whatever its shell or ssh had left. Key the cache on the client that received the title instead of relying on every foreground assignment to invalidate it. * perf: keep hidden pane output off the window title path Output from a hidden or background pane sets needs_render without setting needs_full_render, and the retained render plan then skips presentation for it entirely. Syncing the title on needs_render meant every coalesced hidden-output tick still formatted, sanitized, and allocated a title that could not have changed, against the hidden-source early exit AGENTS.md requires. Every input to the title is app state, which always requests a full render, so gate on that instead. The one exception is the focused pane's own terminal title, which arrives through PTY parsing, so ask for a full render when that changes and the configured title uses it. * fix: only cache a window title a client writer received * fix: carry an api set window title across a live handoff * fix: make outer window title updates event-driven --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-09test: guard pane-scaled render performanceOgulcan Celik
refs #2550
2026-08-09perf(ui): avoid full pane mode reads for scrollbars (#2554)akbash
2026-08-09fix(input): preserve alt-prefixed control keys (#2543)Can Celik
refs #2514
2026-08-09feat(graphics): add direct pane frame streaming (#2523)Can Celik
* feat(graphics): add direct pane frame streaming * feat(graphics): expose pane visibility * test(graphics): preserve legacy terminal image output * fix(graphics): harden streaming lifecycle * fix(input): preserve mouse releases outside panes
2026-08-08feat(input): add per-pane right-click routing (#2504)Can Celik
2026-08-08fix: forward pane terminal bells (#2498)akbash
refs #2453 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-08-07fix: avoid redundant Windows recent-history snapshots (#2474)JJ Liebig
refs #962 Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-06feat(copy-mode): add big-word motions (#2270)JP Lew
Co-authored-by: Ubuntu <ubuntu@ip-172-31-252-234.ca-west-1.compute.internal> Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-06fix: render OSC 4 palette overrides instead of forwarding the index (#2162)Mo
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-06fix: avoid ctrl-tab escape sequences in legacy panesOgulcan Celik
refs #2296
2026-08-05fix(terminal): render halfwidth katakana voiced marks (#2257)Kazunari Kamata
Co-authored-by: oyoguhito <oyoguhito@kamatanoMacBook-Pro.local> Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-04fix(input): preserve shift-tab in pane automation (#2259)Can Celik
refs #1561
2026-08-03fix: page keys scroll pane scrollback at zsh and REPL prompts (#2191)Michael Hackner
* fix: page keys scroll pane scrollback at zsh and REPL prompts PageUp/PageDown were forwarded to the pane whenever DECCKM (application cursor) was on, assuming only primary-screen pagers enable it, but zsh's line editor also enables DECCKM, as do REPLs such as python3. The result was PageUp scrolling shell history instead of Herdr scrollback. Bracketed paste discriminates the two: it means the app accepts typed or pasted text at a prompt, so line editors enable it and pagers do not. * test: update page key state fixture --------- Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-03fix: propagate host color scheme to pane apps (#2214)Can Celik
refs #714
2026-08-01fix: expand copy-mode word-end window past a final wide glyph (#2145)Akira TSURUDA
point_is_final_atom compared an atom's terminating column against a word-motion target's starting column. The two are equal for narrow cells but never for wide ones, so the read window stopped expanding and copy-mode `e` halted at the soft-wrap boundary on CJK text. Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-01fix(input): preserve native key lifecycle across routing (#2142)Can Celik
refs #2077 Co-authored-by: Jonathan Liebig <jonathan.liebig@gmail.com>
2026-07-31fix: read alternate-screen agent historyOgulcan Celik
2026-07-27fix: preserve shift-enter in windows panes (#1909)JJ Liebig
refs #1743
2026-07-24fix: report truncated pane readsOgulcan Celik
refs #1717
2026-07-24fix: answer XTWINOPS size queries in panesOgulcan Celik
refs #835
2026-07-24fix: inherit host palette in pane queries (#1759)akbash
refs #1752 Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-07-22refactor: replace pane mouse and clipboard internalsOgulcan Celik
replaces contributions from othavi0
2026-07-19fix: preserve terminal live follow through resizeOgulcan Celik
2026-07-17perf: adopt libghostty integration improvementsOgulcan Celik
refs #276
2026-07-16chore: update vendored libghostty-vtOgulcan Celik
refs #276
2026-07-13feat: add configurable sidebar metadata tokensOgulcan Celik
2026-07-10feat: add copy mode search and tmux word motionsOgulcan Celik
refs #1230
2026-07-04fix: kitty graphics streams freeze on partial updates and leak host images ↵Gabriel
(#948) * fix: request a render on kitty graphics writes pty output containing a kitty graphics sequence only scheduled the deferred settle render. that render's wake-up notifies the render loop only when the dirty flag was not already set, so under a continuous stream of image updates the notify can be dropped and the pane keeps showing an old frame until something else forces a full render. request an immediate render like any other output. the dirty flag and the minimum render interval still coalesce chunked writes, and the settle render stays as a backstop. refs #947 * fix: fingerprint kitty images exactly across retransmissions the image fingerprint hashed only the first, middle, and last 4096 bytes of pixel data. a program that streams updates by retransmitting one image id keeps the length and dimensions constant, so a frame whose changed pixels all fall outside those three windows gets the same fingerprint as the frame before it. the encoder then treats the image as already uploaded, emits no graphics bytes, and the frame is dropped as identical to the previous render. the pane stays stuck on the last uploaded image until a resize resets the graphics surface. hash the full payload instead. to keep that off the render hot path, cache the fingerprint per image id and recompute it only when the image's transmit time changes. libghostty-vt already refreshes the transmit time on every transmission; vendor patch 0002 exposes it through a new GHOSTTY_KITTY_IMAGE_DATA_TRANSMIT_TIME_NS accessor. a static image costs one map lookup per render and a streaming image one hash per transmitted frame. refs #947 * fix: delete superseded host kitty images host image ids derive from image content, so a pane image whose pixels change maps to a new host id on every update. nothing deleted the host image it replaced, and a streaming pane left one full-size image behind in the host terminal per changed frame until the graphics surface was reset. track which host image backs each pane image and delete the replaced one once no source references it. refs #947 * fix: prune stale kitty graphics source entries a source entry whose pane closed or whose placement disappeared stayed in the cache forever. through the shared-reference check it could keep an old host image alive that nothing visible used anymore, and the entries themselves accumulated without bound. prune sources against the visible set at the start of every encode pass. refs #947 * docs: link issue and upstream discussion for vendor patch 0002 the transmit time accessor now has a removal path: the ghostty discussion proposing it upstream is linked in the patch ledger. refs #947 --------- Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-07-04fix: restore windows recent pane readsOgulcan Celik
refs #962
2026-07-03fix: forward page keys to primary-screen pagersOgulcan Celik
refs #953
2026-07-02fix: preserve windows backspace inputOgulcan Celik
refs #907 refs #920