From 26b07d6c57d8ccca446aa2969efdc5779468d5db Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 19 Jul 2022 21:52:07 +0200 Subject: [PATCH] Fix indent rendering I forgot that I used a box drawing character and not a '|' character to render the indent. --- src/ui/chat/tree/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/chat/tree/util.rs b/src/ui/chat/tree/util.rs index 0b7069b..29d8bfa 100644 --- a/src/ui/chat/tree/util.rs +++ b/src/ui/chat/tree/util.rs @@ -17,7 +17,7 @@ pub fn style_time_inverted() -> ContentStyle { } pub const INDENT: &str = "│ "; -pub const INDENT_WIDTH: usize = INDENT.len(); +pub const INDENT_WIDTH: usize = 2; pub fn style_indent() -> ContentStyle { ContentStyle::default().dark_grey()