Skip to content

Close the xmd repl Entries catalog with Escape #1018

Closed

Description

@taras

Pressing Escape in the open Entries catalog should close the drawer and restore focus to the underlying REPL, as it does for History and Configure.

The #1013 migration found that Escape instead reports ! no drawer is open. while the catalog remains visible. The close control works, and the migrated tests use it. The original Planner confirmed that this contradicts the route-drawer Escape contract in specs/repl-spec.md and the behavior of sibling drawers.

Reproduce by opening the Entries catalog in a running REPL and pressing Escape once. The catalog should close, with the existing selection, History position, draft and running work preserved. Verify the behavior through terminal input and ensure input cannot activate controls behind the catalog while it remains open.

This is a separate existing behavior defect found while replacing the test harness in #1013. Region-based navigation remains owned by #895.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions