From 5f01076daa2e23e458c395cbc151d55afd2de83e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 11 Apr 2026 04:28:28 +0000 Subject: [PATCH] Fix comment in draw_separated_block Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/0e5a33d1-c34e-4e8a-b161-7469ab770c05 Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com> --- kitty/decorations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/decorations.c b/kitty/decorations.c index 4539de833..781813309 100644 --- a/kitty/decorations.c +++ b/kitty/decorations.c @@ -1535,7 +1535,7 @@ fill_rect(Canvas *self, uint x_start, uint y_start, uint x_end, uint y_end) { static void draw_separated_block(Canvas *self, uint num_cols, uint num_rows, uint which) { // Each "separated" block is drawn with a small gap around it. - // Use approximately 1/8 of the cell dimensions as the gap. + // Use 1/8 of the cell dimensions as the gap (at least 1 pixel). uint gap_x = max(1u, self->width / 8u); uint gap_y = max(1u, self->height / 8u); uint total_gap_x = (num_cols + 1) * gap_x;