From 55c212dc56a6fcaa87d33b1b63fcb638b1ecb973 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 24 Aug 2023 17:28:12 -0400 Subject: [PATCH] If the screen_width isn't detected, set the maximum number of columns to 1 --- vnotes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnotes b/vnotes index ac94359..4c39b9b 100755 --- a/vnotes +++ b/vnotes @@ -196,7 +196,7 @@ function search_notes { (( maxcolumns++ )) done else - maxcolumns=3 + maxcolumns=1 fi # Get the number of values