diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-07 17:34:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-07 17:34:06 +0000 |
| commit | 6e4d29ef71f798b3bbe10b91e0425865ddb6fe6f (patch) | |
| tree | e346535fc41dcd1555cd1b905563e169f2277513 | |
| parent | changelog: scrollback indicator did not exist in 1.4(.4) (diff) | |
render: change minimum window size from 4x20 -> 1x2 (rows/cols)
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | render.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f2f9b4e8..334f7240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,8 @@ * Foot now searches for its configuration in `$XDG_DATA_DIRS/foot/foot.ini`, if no configuration is found in `$XDG_CONFIG_HOME/foot/foot.ini` or in `$XDG_CONFIG_HOME/footrc`. +* Minimum window size changed from four rows and 20 columns, to 1 row + and 2 columns. ### Fixed @@ -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; |
