╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Settings.zig ─────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
123 124 pub fn getSelectedIndex(self: View) ?usize { 125 _ = self; 126 return 0; 127 } 128 }; 129 130 fn ansiLabel(session: *const ui.Session) []const u8 { 131 const label_on = "turn off ANSI art"; 132 const label_off = "turn on ANSI art"; 133 return if (session.data.enable_ansi) label_on else label_off; 134 } 135