summaryrefslogtreecommitdiff
path: root/core/Query.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 02:37:06 -0300
committerGabriel Schneider <[email protected]>2026-11-22 02:37:06 -0300
commit58180ae7574b5050331797f0ead1a1cec753b2ed (patch)
tree4a866bdfc968afe58f1f954f969b9c0ab00bc449 /core/Query.zig
parent245dd088a5b502c72f94c85bf1cc5bd0ba7ebb56 (diff)
parent2015baa4ccd26a74b51e7b7cda0eb3533a325142 (diff)
downloadpardes-58180ae7574b5050331797f0ead1a1cec753b2ed.tar.gz
pardes-58180ae7574b5050331797f0ead1a1cec753b2ed.zip
integration: the tree to install: every client's terminals by the pty's bytes, and the source view's changes to the whole mock: pardes-flip (`uxzzxrtt`, on pardes-merge54: the one road by default, the old one behind PARDES_TERM_SCREEN until it is deleted; a client takes its road from the session's welcome: the wire at 29; the predicted echo kept on the one road; the user's ruling of 2026-11-22) and pardes-layers-5 (`qurmskql` on `yxupukvr` on `tllltqkq` on `qwvwsoww`, on pardes-layers-4: a terminal's output pays less for the layers with `Changes` off; ghost rows: a line taken away whole red across, each change's description after its last line; a changed line's words by the patch view's alignment; `]g` and `[g`; a description row keeps its author and age, a change's rows come before its own description); no conflict; core-test 911/1075 (164 skipped), shell-test 1117/1120; its gate: .scratch/sketch/reorg/merge55, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Query.zig')
-rw-r--r--core/Query.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Query.zig b/core/Query.zig
index e2f59028..2ffcfd3b 100644
--- a/core/Query.zig
+++ b/core/Query.zig
@@ -2086,8 +2086,9 @@ pub fn paint(p: *Pardes, s: *Surface, pane: *Pane, r: pardes.Rect, body_h: u16)
var vr: i32 = 0;
var last: i32 = -1;
while (vr < body_h) : (vr += 1) {
- const row = pane.wrapAt(p.settings.tab, vr).line;
- if (row == last or row < 1) continue;
+ const w = pane.wrapAt(p.settings.tab, vr);
+ const row = w.line;
+ if (row == last or row < 1 or w.ghost) continue;
last = row;
const i: usize = @intCast(row - 1);
if (i >= q.items.items.len or @as(usize, @intCast(row)) >= f.location_rows.len) continue;