Repository navigation
fix(tui): slash hijack, fork feedback, help geometry - #665
Merged
Merged
Conversation
Typed exact slash commands now beat fuzzy skill description matches (/refresh no longer fires skill:market-scan). TaskStrip/Sidebar keys no longer leak into chat. Supervised /fork reports progress. Help modal uses cell-capped geometry readable at 80x24.
This was referenced Sep 13, 2026
mohitranka
added a commit
that referenced
this pull request
Sep 15, 2026
…693) `type_to_compose` refused Footer, TaskStrip and Sidebar as control surfaces, so a printable key with no local binding there was dropped: a click on the transcript column (SIDEBAR) left the keystroke with nowhere to go, and the composer stayed the only way in. Only `Panel` keeps an unconsumed printable key now — its PTY owns every byte the panel does not claim. Everywhere else the block's own bindings are matched first, so a displayed shortcut never loses to a draft (`n`/`s`/`d` in the session list, `x`/`a`/`d`/`i` in the transcript, the footer chips), and focus moves with the character, so a draft is never inserted behind a pane still painted as the keyboard owner. This reverses two deliberate guards: 56deb92 kept the footer's keys so a shell line typed after one Tab could not become a draft, and 212deec (#665) kept `:q`/`/quit` out of chat from the session list and the transcript. Both inputs are reachable again; they surface the text in the composer instead of swallowing it. Docs: the README keyboard table and FORGE-DESIGN 8.3 carry the rule and its exception. The tests pinned to the old drop behavior are rewritten, with new coverage for the terminal carve-out and for bound keys beating type-to-chat. Paste is unchanged: bracketed paste still only reaches the composer from the composer block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 4 MAJOR issues from PTY visual audit (artifacts/forge-visual-pty-test/report.md).
Tests: 4 new regression tests; forge-tui lib 1274 passed; fmt + clippy clean. Live PTY verified: /refresh ranks first and refreshes, /help framed at 80x24, /fork toasts.