fix: minor macos rendering issues caused be new line symbol

This commit is contained in:
CJ van den Berg 2024-02-29 17:14:23 +01:00
parent 6f60b17010
commit 987b4dab9a

View file

@ -657,7 +657,7 @@ pub const Editor = struct {
const frame = tracy.initZone(@src(), .{ .name = "editor render screen" }); const frame = tracy.initZone(@src(), .{ .name = "editor render screen" });
defer frame.deinit(); defer frame.deinit();
tui.set_base_style(&self.plane, "", theme.editor); tui.set_base_style(&self.plane, " ", theme.editor);
self.plane.erase(); self.plane.erase();
if (hl_row) |_| if (hl_row) |_|
self.render_line_highlight(&self.get_primary().cursor, theme) catch {}; 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 {};
//_ = 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 {};