mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
14 lines
220 B
Python
14 lines
220 B
Python
import shutil
|
|
from rich.console import Console
|
|
|
|
_col, _ = shutil.get_terminal_size((80, 20))
|
|
if _col == 80:
|
|
_col = 160
|
|
|
|
__all__ = ("console",)
|
|
|
|
console = Console(
|
|
width=_col,
|
|
soft_wrap=True,
|
|
tab_size=4
|
|
)
|