diff --git a/src/ui.rs b/src/ui.rs index f907515..409e21e 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -3049,6 +3049,10 @@ impl Component for SectionLineView<'_> { fn draw(&self, viewport: &mut Viewport, x: isize, y: isize) { fn replacement_characters(character: char) -> Option<&'static str> { match character { + // Characters end up writing over each-other and end up + // displaying incorrectly if ignored. Replacing tabs + // with a known length string fixes the issue for now. + '\t' => Some("→ "), '\n' => Some("⏎"), _ => None, }