From 3d37b08fe0c2012febca9356ff398b60e05dea1d Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Tue, 3 Feb 2026 17:07:26 -0500 Subject: [PATCH] updated formatting to take account terminal width --- hate_crack/formatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hate_crack/formatting.py b/hate_crack/formatting.py index 08a6aaa..29b3936 100644 --- a/hate_crack/formatting.py +++ b/hate_crack/formatting.py @@ -42,7 +42,7 @@ def print_multicolumn_list(title, entries, min_col_width=20, max_col_width=None) idx = row + col * rows if idx < len(entries): entry = entries[idx] - max_entry_len = max(1, col_width - 2) + max_entry_len = max(1, col_width) if len(entry) > max_entry_len: if max_entry_len > 3: entry = entry[: max_entry_len - 3] + "..."