diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 02:00:44 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 02:00:44 -0300 |
| commit | 7ec51e48d430d4bc06869c09c6cc1325124ac338 (patch) | |
| tree | 8a7cdf9fe0ae6eda0f9d013f62b04f693e6a367c /core/body_layer.zig | |
| parent | 5e30bc2d390a809e0baddaee6eedd5052a556524 (diff) | |
| parent | 808efd09c7bbd4ca055463ae95ca4c2f5f474085 (diff) | |
| download | pardes-7ec51e48d430d4bc06869c09c6cc1325124ac338.tar.gz pardes-7ec51e48d430d4bc06869c09c6cc1325124ac338.zip | |
integration: nothing of a core a process global and the rollback's two faults fixed, with the gutter's ~ for the slot after a text's last newline: pardes-globals (the faults a closed terminal's kitty image and a far client's own Del of a non-plain kind's pane each crashed a client on after a rollback; config.tab_now, Addon's distrust list and Kind's draw tokens into the core; the check in core/root.zig) and pardes-tilde, merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/body_layer.zig')
| -rw-r--r-- | core/body_layer.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/body_layer.zig b/core/body_layer.zig index 73c9dd48..7dc097ad 100644 --- a/core/body_layer.zig +++ b/core/body_layer.zig @@ -250,7 +250,8 @@ fn drawGutter(p: *Pardes, s: *Surface, pane: *Pane, r: pardes.Rect, tx: u16, tw: const row_line: i32 = if (pane.wrap_n == 0) goff + @as(i32, vr) else if (vr < pane.wrap_n) pane.wrap_line[vr] else std.math.maxInt(i32); - const on_cursor = row_line == cur_line; + // The `~` of the slot past the text is no line's number: never lit. + const on_cursor = row_line == cur_line and row_line >= 0 and !panes.File.endSlot(pane, @intCast(row_line)); var c: u16 = 0; while (c < prefix_width and c < tw) : (c += 1) { const cell = s.at(tx + c, body_y + vr); |
