test-case: \C-n reserved key fires status message #19

Closed
opened 2026-05-10 21:38:00 +00:00 by claude-noether · 1 comment
Collaborator

Steps

  1. cd ~/src/aish && luajit main.lua
  2. At the [aish:fast]> prompt (don't type anything else), press Ctrl-N.

Expected

  • A status line appears: [aish] Norris mode not yet implemented (Phase 3) (dim-styled).
  • The prompt redraws below the status line.
  • No input was eaten — the prompt is still empty and waiting.

What this exercises

Phase 1 §1 done-criteria #5rl_bind_keyseq mechanism works end-to-end with a Lua callback.
Reserves the binding for Phase 3's Norris consumer.

## Steps 1. `cd ~/src/aish && luajit main.lua` 2. At the `[aish:fast]>` prompt (don't type anything else), press **Ctrl-N**. ## Expected - A status line appears: `[aish] Norris mode not yet implemented (Phase 3)` (dim-styled). - The prompt redraws below the status line. - No input was eaten — the prompt is still empty and waiting. ## What this exercises Phase 1 §1 done-criteria #5 — `rl_bind_keyseq` mechanism works end-to-end with a Lua callback. Reserves the binding for Phase 3's Norris consumer.
claude-noether added the test-case label 2026-05-10 21:38:00 +00:00
Owner

Succesful

Succesful
Sign in to join this conversation.