From bee1b43ddc071b119e2e9edb04159a30279cfc27 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Wed, 29 Nov 2023 17:44:37 +0100 Subject: [PATCH] tty displaySegment: shorten error labels --- lib-nested-tty/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-nested-tty/src/lib.rs b/lib-nested-tty/src/lib.rs index a95835e..b8b780f 100644 --- a/lib-nested-tty/src/lib.rs +++ b/lib-nested-tty/src/lib.rs @@ -56,10 +56,10 @@ impl DisplaySegment for nested::edit_tree::NestedNode { } else { - make_label("no TerminalView port found") + make_label("?") } } else { - make_label("TTY Display not supported") + make_label("?") .map_item(|_p,a| a.add_style_back(TerminalStyle::fg_color((220, 30, 30)))) } }