[GH-ISSUE #469] [horizon-ctl] wait N releases held movement keys #134

Closed
opened 2026-11-02 15:36:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/469

Found while verifying #465. horizon-ctl key w down followed by horizon-ctl wait N moves for one tick only, because wait releases held WASD when it finishes. Scripted movement (agents, harnesses) then looks like a stall. Either keep held keys across wait, or document it in the control socket / MCP docs and give agents a way to hold a key for N ticks.

Originally created by @ludovic111 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/469 Found while verifying #465. `horizon-ctl key w down` followed by `horizon-ctl wait N` moves for one tick only, because `wait` releases held WASD when it finishes. Scripted movement (agents, harnesses) then looks like a stall. Either keep held keys across `wait`, or document it in the control socket / MCP docs and give agents a way to hold a key for N ticks.
bsakaguchi 2026-11-02 15:36:40 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 16, 2026):

Fix in #477: wait no longer releases held keys or mouse buttons, so key w down + wait N keeps walking until key w up, release or stop. On a flat platform the second wait 20 moved 4.75 blocks with the key held (0.04 before).

<!-- gh-comment-id:6211894138 --> @ludovic111 commented on GitHub (Oct 16, 2026): Fix in #477: `wait` no longer releases held keys or mouse buttons, so `key w down` + `wait N` keeps walking until `key w up`, `release` or `stop`. On a flat platform the second `wait 20` moved 4.75 blocks with the key held (0.04 before).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#134
No description provided.