Commit Graph
6 Commits
Author SHA1 Message Date
BRYCE 45a0f3585a fix(s16): wait for parallel agents before closing the journal (#571)
Signed-off-by: Bryce <1557635468@qq.com>
2026-10-27 12:39:55 +08:00
Lukas 2f8cfb03a6 fix: an empty REPL line no longer quits the chapter silently (#569)
Every chapter REPL treated an empty line as a quit command and exited with
status 0 without a word, while the banner only promises "Type q to quit".
Under VS Code's debugger the Python extension's environment-activation line
is often injected into stdin after the program started, so the first thing
the REPL read was a blank line and the chapter vanished right after its
banner.

An empty line is now ignored and the prompt comes back; q and exit still
quit, and EOF/Ctrl-C still end the loop. s17 already behaved this way. A
static test keeps every chapter's quit check free of the empty string.

Fixes #567
2026-10-27 12:39:40 +08:00
LiJiasheng 94ca468557 Add OS-aware shell context to current course prompts (#587)
* Add host environment context to chapter prompts

* Align prompt examples with environment context
2026-09-28 21:48:45 +08:00
Haoran 922265145b fix: complete readline prompt coverage 2026-08-25 21:56:24 +08:00
Haoran 199402f9d4 fix: use UTF-8 for text file operations 2026-08-24 20:28:37 +08:00
Haoran 7e2f2fd99b refactor: streamline the course to 17 lessons 2026-08-12 03:02:42 +08:00