summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-05 18:02:16 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit4ecf494b3af0ec8d8212dd9614b7e7d329a2251f (patch)
tree5a60ea3d69c5fafa62cb259faf0b3a1f4cf85d9f /src/config.zig
parent79a8980e46d8ed1f9ef7e3f4e44db7ee58e9f88e (diff)
downloadpardes-4ecf494b3af0ec8d8212dd9614b7e7d329a2251f.tar.gz
pardes-4ecf494b3af0ec8d8212dd9614b7e7d329a2251f.zip
wrap by default, at the window width, with a break marker
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/config.zig b/src/config.zig
index b7ca9b11..a8e3639f 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -432,11 +432,13 @@ test "wheel drift guard" {
/// the file pane's line-number gutter, in columns
pub const PREFIX_W: u16 = 5;
-/// soft wrap (the Wrap builtin): the widest a wrapped row may get. The rule is
-/// min(this, the pane's own content width), so a narrow pane breaks at its own
-/// right edge and a wide one stops here — a line dragged across a 300-column
-/// monitor is not readable text, it is a scanline.
-pub const WRAP_COLS: usize = 100;
+/// soft wrap (the Wrap builtin): the glyph a wrapped row ends with, in the one
+/// column bodyText keeps free for it. A break is the one thing about a wrapped
+/// line you cannot see — the text simply continues, and a missing line number
+/// on the row below is an absence, which is a poor thing to read a document by.
+/// So the break says so at the point it happens, in the chrome's own colour
+/// because it is not in the file.
+pub const wrap_marker = "↩";
/// vim 'scrolloff': keyboard cursor moves keep this many context rows visible
/// above/below the cursor (clamped at file boundaries and short panes), and
/// the same count of COLUMNS horizontally