Add raw mode support to REPL for immediate key handling (Ctrl+L/Ctrl+C/Ctrl+D) and update README with usage notes

This commit is contained in:
2025-10-09 16:57:56 +01:00
parent 21f5ab5335
commit 6f92a80bb1
2 changed files with 95 additions and 11 deletions

View File

@@ -147,6 +147,10 @@ The interactive shell supports:
See [examples/08_repl_guide.luash](examples/08_repl_guide.luash) for a comprehensive guide.
Notes:
- Raw terminal mode (immediate Ctrl+L/Ctrl+C/Ctrl+D) auto-enables when attached to a TTY.
- Force enable/disable with `LUASH_RAW=1` or `LUASH_RAW=0`.
### Debug Mode
```bash
LUASH_DEBUG=1 ./luash script.luash