render: minimum window size: 2 cols -> 1 col

This commit is contained in:
Daniel Eklöf 2025-02-10 12:42:29 +01:00
parent eced7cf1d6
commit 8b63869f57
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -4409,7 +4409,7 @@ render_resize(struct terminal *term, int width, int height, uint8_t opts)
}
/* Don't shrink grid too much */
const int min_cols = 2;
const int min_cols = 1;
const int min_rows = 1;
/* Minimum window size (must be divisible by the scaling factor)*/