Skip to content

Commit

Permalink
fix: do not hardcode console width
Browse files Browse the repository at this point in the history
Since commit 66e1df3, console width is
hardcoded to 120 and so width auto-detection is disabled. Drop this line
as most modern screens can display more than 120 characters and a lot of
lines are truncated now that EPSS data, latest version, etc. are
displayed.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine committed Oct 23, 2023
1 parent fb39948 commit 855f934
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cve_bin_tool/output_engine/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def _output_console_nowrap(
):
"""Output list of CVEs in a tabular format with color support"""

console._width = 120
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
time_of_last_update = time_of_last_update.strftime("%Y-%m-%d %H:%M:%S")

Expand Down

0 comments on commit 855f934

Please sign in to comment.