summaryrefslogtreecommitdiff
path: root/core/Tables.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Tables.zig')
-rw-r--r--core/Tables.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Tables.zig b/core/Tables.zig
index a0256d8a..61a67bfe 100644
--- a/core/Tables.zig
+++ b/core/Tables.zig
@@ -660,6 +660,7 @@ pub fn paint(p: *Pardes, s: *Surface, pane: *Pane, r: pardes.Rect, tx: u16, tw:
var vr: u16 = 0;
while (vr < body_h) : (vr += 1) {
const w = pane.wrapAt(p.settings.tab, vr);
+ if (w.ghost) continue;
const table = File.rowTable(pane, w.line) orelse continue;
const text = File.sourceLine(pane, w.line);
var buf: [max_pads]Pad = undefined;