Add REPL usage documentation and fix raw mode handling

- Fix raw mode enabling to not duplicate with UI border mode
- Add REPL_USAGE.md with comprehensive guide
- Add examples/repl_demo_terminal.py example script
This commit is contained in:
2026-03-22 16:42:40 -07:00
parent 995badbffc
commit 3fac583d94
3 changed files with 172 additions and 1 deletions

View File

@@ -478,7 +478,8 @@ def run_pipeline_mode_direct():
break
# Enable raw mode for REPL if present and not already enabled
if repl_effect and hasattr(display, "set_raw_mode"):
# Also enable for UI border mode (already handled above)
if repl_effect and ui_panel is None and hasattr(display, "set_raw_mode"):
display.set_raw_mode(True)
# Run pipeline loop