tty displaySegment: shorten error labels

This commit is contained in:
Michael Sippel 2023-11-29 17:44:37 +01:00
parent 6a3afde29c
commit bee1b43ddc
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -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))))
}
}