render: resize: note why min_cols=7

This commit is contained in:
Daniel Eklöf 2025-02-05 11:38:29 +01:00
parent d7e8f29ee2
commit a3a404a257
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 = 7;
const int min_cols = 7; /* See OSC-66 */
const int min_rows = 1;
/* Minimum window size (must be divisible by the scaling factor)*/