fix(dashboard): route browser wheel into inner TUI scrolling
This commit is contained in:
@@ -2949,13 +2949,6 @@ def _resolve_chat_argv(
|
||||
argv, cwd = _make_tui_argv(PROJECT_ROOT / "ui-tui", tui_dev=False)
|
||||
env = os.environ.copy()
|
||||
env.setdefault("NODE_ENV", "production")
|
||||
# Embedded browser chat should render into the primary screen buffer, not
|
||||
# the terminal alternate screen. Alt-screen is ideal for the native CLI,
|
||||
# but it intentionally has no host scrollback; in the web dashboard that
|
||||
# makes mouse-wheel history feel broken even when xterm itself is healthy.
|
||||
# INLINE mode keeps transcript rows in the normal buffer so browser-side
|
||||
# scrollback works predictably.
|
||||
env.setdefault("HERMES_TUI_INLINE", "1")
|
||||
# Browser-embedded chat should prefer stable wheel-based scrollback over
|
||||
# native terminal mouse tracking. When mouse tracking is enabled, wheel
|
||||
# events are consumed by the TUI and forwarded as terminal input, which
|
||||
|
||||
Reference in New Issue
Block a user