Skip to content

Document on_context and program keys in the hook lists and PLUGINS.md #1122

Description

@LeTuR

Plugin docs lag behind on_context and program keys, raised in the #1116 and #1117 reviews.

  • on_context missing from the hook lists in ui/README.md (which ships into a user's interface directory), ui/AGENTS.md, and extensions/ui-skill/SKILL.md. Those last two are what a coding agent reads before it writes a pane.
  • docs/PLUGINS.md doesn't say where keys belong. Typing is not idempotent the way starting is: sent from render, keys are typed again on every frame. Say they belong in on_event or on_key.
  • docs/PLUGINS.md overstates UTF-8 handling. "A sequence that is not UTF-8 arrives as written" holds on tmux (send-keys -H) but not on native Windows, where psmux's flush_psmux_literal passes bytes through String::from_utf8_lossy. Scope the sentence to tmux.

— LeTuR's agent

Activity

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationgood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions