Fix section titles to avoid spaces

This commit is contained in:
Steven Silvester
2014-12-14 12:26:49 -06:00
parent 12248e18e7
commit 78974d93dc
2 changed files with 15 additions and 14 deletions
+1
View File
@@ -9,6 +9,7 @@ print('*' * screen_width)
if len(sys.argv) > 1:
header = ' '.join(sys.argv[1:])
header = header.replace('.', ' ')
print('*', header.center(screen_width - 4), '*')
print('*' * screen_width)