Merge upstream MeshTerm 0.13.0

Conflicts resolved by keeping both sides:
  docs/development/writing-style.md (reaction/part terms + pixel image)
  meshterm/core/connection.py (sender timestamp + empty channel slot error)
  meshterm/tools/chat.py, meshterm/ui/chat.py (reactions/parts + pixel images)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174TBnQH8S3nYNaxo5zk9Yu
This commit is contained in:
Richard OberholtzerandClaude Opus 5.5 committed 2026-11-24 08:06:31 -05:00
commit 2e06e82b5e
44 files changed
+4737 -65

No files matched your search

+15 -1
View File
@@ -6,7 +6,8 @@
The script runs MeshTerm three times, one time for each set: ``terminal`` (the desktop, in
an 80×24 terminal), ``cardputer-zero``, and ``picocalc-lyra``. Each run uses ``--demo``
(refer to :mod:`meshterm.demo`) and types the same keys: it opens the chat on Public,
the paths of a message, and the map, and it saves each screen as a PNG. The result is
the paths of a message, the map, and the pixel images of the ``#mcoimg`` channel, and it
saves each screen as a PNG. The result is
``DIR/<set>/<screen>.png`` (``DIR`` is ``docs/screenshots`` by default).
The script also draws each wordmark of the startup splash (``meshterm/assets/splash``) as
@@ -361,6 +362,19 @@ def _tour(capture: Capture, type_text: Callable[[str], None], save: Callable[[st
press("enter")
capture.settle(quiet=4.0, timeout=120.0)
save("map")
# The pixel images of the #mcoimg channel, from the main menu.
press(text="w", ctrl=True)
capture.settle(quiet=0.8)
press("escape")
typed("chat")
press("enter")
capture.wait_for("Public")
capture.settle()
typed("mcoimg")
press("enter")
capture.wait_for("#mcoimg")
capture.settle(quiet=1.5)
save("mcoimg")
# --------------------------------------------------------------------------- drawing
+4 -4
View File
@@ -356,7 +356,7 @@ def _tour(p: Presenter) -> None:
print("the main menu", flush=True)
p.camera.roll()
p.hold(3.0)
p.hold(2.5)
print("the chat, and the paths of a message", flush=True)
p.type("chat")
@@ -405,7 +405,7 @@ def _tour(p: Presenter) -> None:
# Dave answers a few seconds later (``meshterm.demo.script.REPLIES``). His answer
# mentions our node, so it has our star.
p.wait_for("be there at 2", timeout=30)
p.hold(3.5)
p.hold(3.0)
print("a trace", flush=True)
_menu(p, "trace t")
@@ -415,14 +415,14 @@ def _tour(p: Presenter) -> None:
p.hold(0.4)
p.key("enter")
p.wait_for("Trace — Brossard")
p.hold(2.0)
p.hold(1.5)
p.key("enter", pause=0.0)
p.wait_for("Per-hop medians", timeout=30)
p.hold(1.0)
# The history stores walks of one byte for each hop. Thus this walk of two bytes is new,
# and its records go to the trophy case.
if p.shows("new record"):
p.hold(3.0)
p.hold(2.5)
p.key("enter", pause=0.0) # Close
p.hold(1.5)
p.key("pagedown", pause=0.0)