test-case: \C-n inserts ':norris ' at the cursor #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps
luajit main.lua).[aish:fast]>prompt, type nothing — just pressCtrl+N.find old log filesand press Enter.Expected
[aish:fast]> :norris(cursor positioned after the space).:norris <goal>meta handler — Norris banner appears.What this exercises
ffi.readline.M.bindis correctly wired to GNU readline.rl_insert_text+rl_redisplaycdefs work via FFI.Likely failure modes
rl_bind_keyseqreturn value check.rl_redisplay()not wired or signature wrong.\C-npress → ffi.cast aliasing issue (the R-C4 fix should prevent this).