website: ich split multi-cell

This commit is contained in:
Mitchell Hashimoto
2023-10-06 22:23:08 -07:00
parent f73a4f7393
commit 78d69c6cdb
2 changed files with 28 additions and 1 deletions

View File

@@ -1620,7 +1620,9 @@ pub fn insertBlanks(self: *Terminal, count: usize) void {
while (i < copyable) : (i += 1) {
const to = right_limit - 1 - i;
const from = copyable_end - i;
row.getCellPtr(to).* = row.getCell(from);
const src = row.getCell(from);
const dst = row.getCellPtr(to);
dst.* = src;
}
}