From 49a76f23f5df9ebd45c471d55bfa1104ba9e788a Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 7 May 2017 13:05:49 +0200 Subject: [PATCH] Remove offending characters from #70 --- telethon/interactive_telegram_client.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/telethon/interactive_telegram_client.py b/telethon/interactive_telegram_client.py index cce53001..6c9c66e0 100644 --- a/telethon/interactive_telegram_client.py +++ b/telethon/interactive_telegram_client.py @@ -12,10 +12,9 @@ cols, rows = shutil.get_terminal_size() def print_title(title): # Clear previous window print('\n') - available_cols = cols - 2 # -2 since we omit '┌' and '┐' - print('┌{}┐'.format('─' * available_cols)) - print('│{}│'.format(title.center(available_cols))) - print('└{}┘'.format('─' * available_cols)) + print('=={}=='.format('=' * len(title))) + print('= {} ='.format(title)) + print('=={}=='.format('=' * len(title))) def bytes_to_string(byte_count):