:: commit c1a093ef3b8874b0533d4c64478c7274c493d877

Mintsuki <mintsuki@protonmail.com> — 2026-04-11 20:39

parents: 2b251e4d88

menu: Remove redundant terminal size check from editor

diff --git a/common/menu.c b/common/menu.c
index 69987ef2..745a1cd4 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -178,10 +178,6 @@ static void putchar_tokencol(int type, char c) {
 static bool editor_no_term_reset = false;
 
 char *config_entry_editor(const char *title, const char *orig_entry) {
-    if (terms[0]->cols < 40 || terms[0]->rows < 16) {
-        return NULL;
-    }
-
     FOR_TERM(TERM->autoflush = false);
 
     FOR_TERM(TERM->cursor_enabled = true);
tab: 248 wrap: offon