1 parent ab0b9da commit 960c2ccCopy full SHA for 960c2cc
1 file changed
src/terminal/c/terminal.zig
@@ -587,7 +587,7 @@ fn setTyped(
587
if (comptime !build_options.kitty_graphics) return .success;
588
if (value) |v| {
589
if (v.len > wrapper.tmp_dir_path.len) return .out_of_memory;
590
- @memcpy(&wrapper.tmp_dir_path, v.ptr[0..v.len]);
+ @memcpy(wrapper.tmp_dir_path[0..v.len], v.ptr[0..v.len]);
591
var it = wrapper.terminal.screens.all.iterator();
592
while (it.next()) |entry| {
593
const screen = entry.value.*;
0 commit comments