hermes-agent/ui-tui/src
kshitijk4poor e52fffb607 harden(tui): also disable fast-echo for tmux-flavored TERM (SSH-from-tmux)
TMUX is not forwarded over SSH, so a TUI launched on a remote host from
inside local tmux only sees TERM=tmux/tmux-256color with no TMUX var --
the cursor-drift bug still applies there. Extend supportsFastEchoTerminal()
to also fall back when TERM is tmux-flavored.

Deliberately scoped to tmux* only, NOT screen*: GNU screen sets the same
screen/screen-256color TERM and has no reported drift, so widening to
screen would disable the optimization for those users with no evidence of
a bug (matching the original PR's stated out-of-scope note).

Adds tests for tmux-flavored TERM (disabled) and screen/xterm TERM
(stays enabled) to guard against accidental widening.
2026-06-19 16:09:33 +05:30
..
__tests__ harden(tui): also disable fast-echo for tmux-flavored TERM (SSH-from-tmux) 2026-06-19 16:09:33 +05:30
app refactor(tui): reuse DASHBOARD_TUI_MODE for hosted /exit guard 2026-06-19 12:59:52 +05:30
components harden(tui): also disable fast-echo for tmux-flavored TERM (SSH-from-tmux) 2026-06-19 16:09:33 +05:30
config fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
content feat: add TUI session orchestrator 2026-05-26 20:51:59 -07:00
domain fix(tui): don't make Enter swallow trailing-space-only slash completions (#48425) 2026-06-18 11:04:59 -05:00
hooks fix(tui): recompute virtual tail after width resize 2026-05-23 14:49:26 -05:00
lib fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
protocol refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
types fix(tui): keep Ink displayCursor in sync with fast-echo writes so cursor stops drifting (#26717) 2026-05-16 00:28:12 -05:00
app.tsx fix(tui): apply ui-tui fix pass and restore type-check 2026-04-25 14:08:54 -05:00
banner.ts feat(tui): responsive banner tiers 2026-05-23 17:37:51 -05:00
entry.tsx fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
gatewayClient.ts fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
gatewayTypes.ts fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
theme.ts fix(tui): honor skin highlight colors (#20895) 2026-05-06 14:01:56 -07:00
types.ts chore(approval): tighten allow_permanent comments + DRY the no-always opt set 2026-06-11 18:42:59 -05:00