orhun/flawz

Insufficient space for long CVEs name

mertssmnoglu opened this issue · 2 comments

Describe the bug

Some CVE numbers are using CVE-{4}-{5} format and flawz's current Name column constraint percentage(%13) is not enough to see last char.

To reproduce

  1. Use flawz -q "CVE-2024-21512"
  2. Unable to see last char of the CVE number

Expected behavior

Clearly see entire CVE number

Screenshots / Logs

20240602_00h18m34s_grim

Software information

  • Operating system: Arch GNU/Linux x86_64 6.8.9-zen1-2-zen
  • Project version: 0.2.0

Hardware information

  • Screen Resolution: 1920x1080
  • Aspect Ratio: 16:9

Additional context

I want to know if I'm the only one encountering this problem.
💬 Feedback from the community could be good. I started a discussion #25

Yes, I can reproduce this too. (good catch btw) Are you interested in submitting a PR to fix it?

Yes, I can reproduce this too. (good catch btw) Are you interested in submitting a PR to fix it?

OK, it looks like it's a common issue. I tried to resolve this with setting percentage to %14 and it looks ok. Let me submit my PR.