mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Revert console fixed width
This commit is contained in:
parent
86aad4a80e
commit
59c23c1149
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ from rich.console import Console
|
||||||
|
|
||||||
_col, _ = shutil.get_terminal_size((80, 20))
|
_col, _ = shutil.get_terminal_size((80, 20))
|
||||||
if _col == 80:
|
if _col == 80:
|
||||||
_col = 200
|
_col = 160
|
||||||
|
|
||||||
__all__ = ("console",)
|
__all__ = ("console",)
|
||||||
|
|
||||||
console = Console(width=_col, soft_wrap=True, tab_size=4)
|
console = Console(width=_col, soft_wrap=False, tab_size=4)
|
||||||
|
|
Loading…
Reference in a new issue