docs: Docker tutorial review: ubuntu:lts, long options, links to the casts

- ubuntu:lts instead of ubuntu:24.04 (26.04 today)
- cloud-init status --wait --long gives the summary, no need to read the log
- long options everywhere in the tutorial and its demos
- a discreet link to the asciinema recording under each GIF (pause, fast
  forward in Gitea's player), in the main README too
- castfix.py only restores the prompt after autocast's own !Clear

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
This commit is contained in:
xavierandClaude Opus 5.5 committed 2026-11-21 19:49:56 +01:00
1 parent 372bf5d84b
commit be68264e5c
12 files changed
+1689 -1717

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@ if prompt and first and not first[2].startswith(prompt):
events.insert(0, [0.0, "o", prompt])
if prompt:
for event in events:
if event[1] == "o" and event[2].endswith("\x1b[2J\x1b[3J"):
# Only autocast's own !Clear (a clear run in the shell redraws its prompt)
if event[1] == "o" and event[2] == "\r\x1b[H\x1b[2J\x1b[3J":
event[2] += prompt
shift, previous = 0.0, 0.0