[UI] Give d the preview and esc the way out - #44
Merged
Conversation
This was referenced Jul 26, 2026
KCaverly
force-pushed
the
ct/diff_view/65d117c2
branch
from
July 26, 2026 19:23
515d911 to
f41c87b
Compare
KCaverly
force-pushed
the
ct/diff_view/6f071f3e
branch
from
July 26, 2026 19:23
3a13849 to
b93e42d
Compare
KCaverly
force-pushed
the
ct/diff_view/65d117c2
branch
from
July 26, 2026 19:30
f41c87b to
147876f
Compare
KCaverly
force-pushed
the
ct/diff_view/6f071f3e
branch
from
July 26, 2026 19:30
b93e42d to
ae0bcc6
Compare
KCaverly
force-pushed
the
ct/diff_view/65d117c2
branch
from
July 26, 2026 19:34
147876f to
e81c3d2
Compare
KCaverly
force-pushed
the
ct/diff_view/6f071f3e
branch
from
July 26, 2026 19:34
ae0bcc6 to
50d758f
Compare
esc was doing two jobs on the stack screen. With the preview open it closed the preview; with it shut it closed the screen. So leaving cost one keypress or two depending on a mode you had to remember you were in, and d — the key that opened the preview — shared the first job with it. Now each key means one thing. d toggles the preview, open and shut, from either pane. esc leaves the stack screen from anywhere and hands back whatever was underneath. The return itself already worked: the stack screen is an overlay and never owned m.screen, so dropping it has always revealed the screen it was opened over. What was wrong was the footer calling that "deck", which is only true when the deck is what opened it — open the screen from the palette while on the agent screen and esc has always gone back there. The hint now says "return", which is true from every entry point, and the text-window footer matches. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> ct-stack-id: 6f071f3e
KCaverly
force-pushed
the
ct/diff_view/6f071f3e
branch
from
July 26, 2026 19:39
50d758f to
520c850
Compare
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.
esc was doing two jobs on the stack screen. With the preview open it closed
the preview; with it shut it closed the screen. So leaving cost one keypress
or two depending on a mode you had to remember you were in, and d — the key
that opened the preview — shared the first job with it.
Now each key means one thing. d toggles the preview, open and shut, from
either pane. esc leaves the stack screen from anywhere and hands back
whatever was underneath.
The return itself already worked: the stack screen is an overlay and never
owned m.screen, so dropping it has always revealed the screen it was opened
over. What was wrong was the footer calling that "deck", which is only true
when the deck is what opened it — open the screen from the palette while on
the agent screen and esc has always gone back there. The hint now says
"return", which is true from every entry point, and the text-window footer
matches.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Stack (bottom → top):