diff --git a/spells/cantrips/menu b/spells/cantrips/menu index 0299459..379f52e 100755 --- a/spells/cantrips/menu +++ b/spells/cantrips/menu @@ -55,7 +55,7 @@ done # Make sure the menu items don't wrap, multiline menu items are not supported window_width=$(fathom-terminal -w) -if [ $max_name_length -gt $window_width ]; then +if [ ${max_name_length:0} -gt ${window_width:80} ]; then max_name_length=$window_width fi