╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ SubTitle.zig ─────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
440 try rows[text_row].appendSlice(allocator, utf8_buf[0..len]); 441 } 442 } 443 } 444 445 var out: std.ArrayList(u8) = .empty; 446 errdefer out.deinit(allocator); 447 try out.appendSlice(allocator, rows[0].items); 448 try out.append(allocator, '\n'); 449 try out.appendSlice(allocator, rows[1].items); 450 return out.toOwnedSlice(allocator); 451 } 452