cli | increase size of ink display to 30 chars
This commit is contained in:
parent
6476bc659c
commit
09bdbb0cca
1 changed files with 3 additions and 3 deletions
|
|
@ -193,15 +193,15 @@ class CLITracker(PenTracker):
|
|||
return
|
||||
|
||||
print("\n" + "="*80)
|
||||
print(f"{'ID':<4} | {'VENDOR':<12} | {'NAME':<20} | {'COLOR':<15} | {'SIZE':<10}")
|
||||
print(f"{'ID':<4} | {'VENDOR':<12} | {'NAME':<20} | {'COLOR':<15} | {'SIZE':<30}")
|
||||
print("-" * 80)
|
||||
|
||||
for idx, ink in enumerate(self.ink_tracker.inks):
|
||||
vendor = ink.Vendor[:12]
|
||||
name = ink.Name[:20]
|
||||
color = ink.Color[:15]
|
||||
size = ink.Size[:10]
|
||||
print(f"{idx:<4} | {vendor:<12} | {name:<20} | {color:<15} | {size:<10}")
|
||||
size = ink.Size[:30]
|
||||
print(f"{idx:<4} | {vendor:<12} | {name:<20} | {color:<15} | {size:<30}")
|
||||
|
||||
print("="*80)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue