Skip to content

Commit

Permalink
Update the documentation to better explain that `shell-integration-fe…
Browse files Browse the repository at this point in the history
…atures`
  • Loading branch information
liby committed Jan 14, 2025
1 parent 2053491 commit 874621d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/config/Config.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,11 @@ keybind: Keybinds = .{},
/// The default value is `detect`.
@"shell-integration": ShellIntegration = .detect,

/// Shell integration features to enable if shell integration itself is enabled.
/// Shell integration features to configure. These features control both
/// automatic shell integration (when enabled) and environment variables.
/// The environment variables are always set unless explicitly disabled with
/// `shell-integration-features = false`.
///
/// The format of this is a list of features to enable separated by commas. If
/// you prefix a feature with `no-` then it is disabled. If you omit a feature,
/// its default value is used, so you must explicitly disable features you don't
Expand Down Expand Up @@ -1769,8 +1773,8 @@ keybind: Keybinds = .{},
/// The "transparent" style will also update in real-time to dynamic
/// changes to the window background color, i.e. via OSC 11. To make this
/// more aesthetically pleasing, this only happens if the terminal is
/// a window, tab, or split that borders the top of the window. This
/// avoids a disjointed appearance where the titlebar color changes
/// a window, tab, or split that borders the top of the window.
/// This avoids a disjointed appearance where the titlebar color changes
/// but all the topmost terminals don't match.
///
/// The "tabs" style is a completely custom titlebar that integrates the
Expand Down Expand Up @@ -5402,7 +5406,7 @@ pub const RepeatableCodepointMap = struct {
var list: Self = .{};
try list.parseCLI(alloc, "U+0006-U+0009, U+ABCD=Courier");
try list.formatEntry(formatterpkg.entryFormatter("a", buf.writer()));
try std.testing.expectEqualSlices(u8,
try std.testing.expectEqualSlices(
\\a = U+0006-U+0009=Courier
\\a = U+ABCD=Courier
\\
Expand Down

0 comments on commit 874621d

Please sign in to comment.