summaryrefslogtreecommitdiff
path: root/core/Places.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/Places.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/Places.zig')
-rw-r--r--core/Places.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Places.zig b/core/Places.zig
index 35b79805..c81c7264 100644
--- a/core/Places.zig
+++ b/core/Places.zig
@@ -669,8 +669,9 @@ pub fn paint(set: *Places, p: *Pardes, s: *Surface, pane: *Pane, r: pardes.Rect,
var last_line: i32 = -1;
var vr: i32 = 0;
while (vr < body_h) : (vr += 1) {
- const line = pane.wrapAt(p.settings.tab, vr).line;
- if (line == last_line or line < 0) continue;
+ const w = pane.wrapAt(p.settings.tab, vr);
+ const line = w.line;
+ if (line == last_line or line < 0 or w.ghost) continue;
if (line >= nlines) break;
last_line = line;
const ls = File.lineStart(p.gpa, f, @intCast(line));