aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--render.c4
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
diff --git a/render.c b/render.c
index ea21b808..5d4d712b 100644
--- a/render.c
+++ b/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;