line-read: #:suspend? #f makes C-z ring the bell

A shell must not stop itself at its prompt. With #:suspend? #f, C-z
rings the bell instead of stopping the program. The default is #t, as
before. The manifest comment no longer names glue/Keys.cs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Linus Björnstam 2026-12-01 06:19:36 +01:00
parent 566008e264
commit 590ac3b853
3 changed files with 13 additions and 6 deletions

View file

@ -54,6 +54,8 @@ is in raw mode, and gives it back as it found it.
- A reflow that makes the drawn rows taller than the screen pushes the
first of them into the scrollback, where the cursor cannot go. They
stay there once, as a copy; the next drawing fits the screen.
- ~#:suspend? #f~ (2026-11-30): C-z rings the bell instead of stopping the
program. For a shell, which must not stop itself at its prompt.
- Tall input (2026-11-30): input taller than the screen is drawn in
part, so that the cursor can always go up to its first row.
~input-window~ chooses the rows: the window stays while the cursor is in