Skip to content

tui3: double space answers only from the conversation box — from any other tab of the home screen it never goes home #457

Closed

Description

@santoshkumarradha

Observable failure

Double space is sold as the universal door home, and in the conversation it is: an empty box and two spaces and you are on the home tab (home_test.go: TestDoubleSpaceInAnEmptyBoxGoesHome, TestDoubleSpaceGoesHomeFromABoxThatShowsNothingButHoldsANewline, TestEveryBoxTheFootCallsEmptyAnswersTheDoubleSpace).

Tab to any other tab of the home screen — tasks, standing, memory, spend, search, settings — and press space twice: nothing goes home. On the typing places the box eats both spaces; on settings space is the activate verb; on standing the box never types a space at all. The gesture the foot advertises stops existing the moment you leave the conversation, which is the place you need it least.

The person's sentence for it: anywhere in home or anywhere, pressing double space should land you on the home tab of the home screen — including from another tab in the home screen itself.

Where the wire ends

  • home.go:3538 homeGesture — fires only on " " with homeDoorOpen() and an empty box whose previous character is a space.
  • home.go:3571 homeDoorOpen() = canOpen() && !a.at(pageHome) — on a place page the door condition itself is already true; what is missing is that no key path on a place ever calls the gesture. The conversation router (input.go) reaches it only on the conversation surface; the place pages route through their own placeKey handling and never arrive.
  • room.go's goHome doc already claims the ambition for ←←: "the one gesture that does not care where you are". Double space is advertised in the conversation foot as the same door, and from a tab it is not.

What the fix must preserve

  • Typing is sacred: a single space then a letter must type normally into a place's box; only the double tap on an empty box is a door.
  • settings keeps space as its activate verb; the door must not disarm the verb that already owns the key there.
  • home itself stays shut: on the home tab double space is nothing — you are already there.

Acceptance (functional, required)

From every place of the home screen and from the conversation, double space on an empty box lands on the home tab; single space plus a letter still types into a place's box; settings' space still activates; the three existing double-space tests keep passing.


Drafted with CodeAF · reviewed and owned by the author

Activity

  1. added
    bug
    area:chat
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:chatbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions