Better strategy for truncating long usernames.

This commit is contained in:
Netscape Navigator 2018-11-24 22:47:28 -06:00
parent 056df53b47
commit 7fcfedade0
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class CursedMenu(object):
return plant_table
def format_garden_entry(self, entry):
return "{:14} - {:>16} - {:>8}p - {}".format(*entry)
return "{:14.14} - {:>16} - {:>8}p - {}".format(*entry)
def sort_garden_table(self, table, column, ascending):
""" Sort table in place by a specified column """