From 5027d05943a74fe52cf55867f6859efc011678ff Mon Sep 17 00:00:00 2001 From: Jean-Pierre Martineau Date: Sat, 11 Jul 2026 03:24:25 -0400 Subject: [PATCH] Header unread badge speaks the red-dot language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The envelope glyph gives way to the ● err-red dot with its warn-tinted count — the same badge the channel list and conversation picker draw — so unread reads identically everywhere it appears. Co-Authored-By: Claude Fable 5 --- meshterm/ui/menu.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meshterm/ui/menu.py b/meshterm/ui/menu.py index 4567dc7..5a991ed 100644 --- a/meshterm/ui/menu.py +++ b/meshterm/ui/menu.py @@ -127,9 +127,10 @@ def _header(ctx: AppContext, cache: dict) -> Text: Left to right: the app mark, the connected node's own name with where it's reached (``(COM5)`` / ``(BLE)``), an unread-message badge (channels and direct alike, shown - only when something is waiting), and a two-hour braille activity indicator counting - every packet the hub hears — the same drawing as the channel manager's sparklines, - with a leading ●/○ live-light for whether the hub is pumping yet. + only when something is waiting, in the red-dot language of the channel list and the + conversation picker), and a two-hour braille activity indicator counting every + packet the hub hears — the same drawing as the channel manager's sparklines, with a + leading ●/○ live-light for whether the hub is pumping yet. Args: ctx: The shared application context, read live on every repaint. @@ -155,7 +156,8 @@ def _header(ctx: AppContext, cache: dict) -> Text: unread = ctx.chat.unread_total() if unread: header.append(" · ") - header.append(f"✉ {unread}", style="accent") + header.append("●", style="err") + header.append(f" {unread}", style="warn") header.append(" · ") header.append("●" if ctx.events.active else "○", style="ok" if ctx.events.active else "muted") header.append(" ")