From 987b4dab9acb6055ae30bc906966866431ba08a8 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 29 Feb 2024 17:14:23 +0100 Subject: [PATCH] fix: minor macos rendering issues caused be new line symbol --- src/tui/editor.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tui/editor.zig b/src/tui/editor.zig index 9c464ab..cee92db 100644 --- a/src/tui/editor.zig +++ b/src/tui/editor.zig @@ -657,7 +657,7 @@ pub const Editor = struct { const frame = tracy.initZone(@src(), .{ .name = "editor render screen" }); defer frame.deinit(); - tui.set_base_style(&self.plane, "", theme.editor); + tui.set_base_style(&self.plane, " ", theme.editor); self.plane.erase(); if (hl_row) |_| self.render_line_highlight(&self.get_primary().cursor, theme) catch {}; @@ -773,8 +773,8 @@ pub const Editor = struct { //_ = n.cell_load(c, "$") catch {}; //_ = n.cell_load(c, " ") catch {}; //_ = n.cell_load(c, "⏎") catch {}; - _ = n.cell_load(c, "󰌑") catch {}; - //_ = n.cell_load(c, "↩") catch {}; + // _ = n.cell_load(c, "󰌑") catch {}; + _ = n.cell_load(c, "↩") catch {}; //_ = n.cell_load(c, "↲") catch {}; //_ = n.cell_load(c, "⤶") catch {}; //_ = n.cell_load(c, "󱞱") catch {};