mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 02:43:45 +03:00
Remove offending characters from #70
This commit is contained in:
parent
a49e50d04d
commit
49a76f23f5
|
@ -12,10 +12,9 @@ cols, rows = shutil.get_terminal_size()
|
||||||
def print_title(title):
|
def print_title(title):
|
||||||
# Clear previous window
|
# Clear previous window
|
||||||
print('\n')
|
print('\n')
|
||||||
available_cols = cols - 2 # -2 since we omit '┌' and '┐'
|
print('=={}=='.format('=' * len(title)))
|
||||||
print('┌{}┐'.format('─' * available_cols))
|
print('= {} ='.format(title))
|
||||||
print('│{}│'.format(title.center(available_cols)))
|
print('=={}=='.format('=' * len(title)))
|
||||||
print('└{}┘'.format('─' * available_cols))
|
|
||||||
|
|
||||||
|
|
||||||
def bytes_to_string(byte_count):
|
def bytes_to_string(byte_count):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user