From 038d3d0feab6922df3da9f49b9c33b0df7accb37 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sat, 22 Nov 2025 18:48:51 +0100 Subject: [PATCH] Relax dashboard size requirements --- src/reactor_sim/dashboard.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/reactor_sim/dashboard.py b/src/reactor_sim/dashboard.py index 1d0a8ee..03f7f61 100644 --- a/src/reactor_sim/dashboard.py +++ b/src/reactor_sim/dashboard.py @@ -224,21 +224,21 @@ class ReactorDashboard: def _draw(self, stdscr: "curses._CursesWindow", state: PlantState) -> None: stdscr.erase() height, width = stdscr.getmaxyx() - if height < 24 or width < 90: + if height < 20 or width < 70: stdscr.addstr( 0, 0, - "Terminal window too small. Resize to at least 90x24.".ljust(width), + "Terminal too small; try >=70x20 or reduce font size.".ljust(width), curses.color_pair(4), ) stdscr.refresh() return - data_height = height - 6 - right_width = max(32, width // 3) + data_height = height - 5 + right_width = max(28, width // 3) left_width = width - right_width - if left_width < 60: - left_width = min(60, width - 20) + if left_width < 50: + left_width = min(50, width - 18) right_width = width - left_width data_win = stdscr.derwin(data_height, left_width, 0, 0)