| ... | ... | @@ -592,7 +592,7 @@ const SavedMetadata = extern struct { |
| 592 | 592 | |
| 593 | 593 | fn serializeIpc(start_serialized_len: usize) usize { |
| 594 | 594 | var serialized_len = start_serialized_len; |
| 595 | | var pipe_buf: [4096]u8 align(4) = undefined; |
| 595 | var pipe_buf: [2 * 4096]u8 align(4) = undefined; |
| 596 | 596 | |
| 597 | 597 | main_loop: for ( |
| 598 | 598 | serialized_node_parents_buffer[0..serialized_len], |
| ... | ... | @@ -836,10 +836,13 @@ fn computeNode( |
| 836 | 836 | } |
| 837 | 837 | } |
| 838 | 838 | |
| 839 | | i = @min(global_progress.cols + start_i, i); |
| 840 | | buf[i] = '\n'; |
| 841 | | i += 1; |
| 842 | | global_progress.newline_count += 1; |
| 839 | const is_empty_root = @intFromEnum(node_index) == 0 and serialized.storage[0].name[0] == 0; |
| 840 | if (!is_empty_root) { |
| 841 | i = @min(global_progress.cols + start_i, i); |
| 842 | buf[i] = '\n'; |
| 843 | i += 1; |
| 844 | global_progress.newline_count += 1; |
| 845 | } |
| 843 | 846 | |
| 844 | 847 | if (global_progress.newline_count < global_progress.rows) { |
| 845 | 848 | if (children[@intFromEnum(node_index)].child.unwrap()) |child| { |