mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-17 22:05:22 -05:00
render: change minimum window size from 4x20 -> 1x2 (rows/cols)
This commit is contained in:
parent
f9cbdd3b11
commit
6e4d29ef71
2 changed files with 4 additions and 2 deletions
4
render.c
4
render.c
|
|
@ -2042,8 +2042,8 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
}
|
||||
|
||||
/* Don't shrink grid too much */
|
||||
const int min_cols = 20;
|
||||
const int min_rows = 4;
|
||||
const int min_cols = 2;
|
||||
const int min_rows = 1;
|
||||
|
||||
/* Minimum window size */
|
||||
const int min_width = min_cols * term->cell_width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue