Closed xorhex closed 2 years ago
Agree, get_terminal_size
looks to be dropped from click 8.0.0 (https://click.palletsprojects.com/en/8.1.x/changes/#version-8-0-0)
So shutil.get_terminal_size
should be used instead (https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size). Temporary workaround is to install click 7.1.2.
Getting this error when running a query using the mwdb cli tool:
Should this be
os.get_terminal_size()
instead ofclick.get_terminal_size()
? https://github.com/CERT-Polska/mwdblib/blob/master/mwdblib/cli/formatters/tabular.py#L20