aristocratos / btop

A monitor of resources
Apache License 2.0
21.38k stars 656 forks source link

[BUG] interface name length way too short, can't distinguish interfaces #713

Closed tessus closed 9 months ago

tessus commented 10 months ago

Describe the bug

The interface name is way too short. I run btop on my OPNsense box, but this issue is not limited to FreeBSD.

I have several VLANs. e.g.: VLAN80, VLAN81, VLAN820, ...

However the interface name only shows igb0_vlan8, which makes it impossible to distinguish between the interfaces (unless you look at the GW IP address).

image

To Reproduce

  1. have an interface which name is longer than 10 characters
  2. start btop

Expected behavior

interface name is shown and not cut off after the 10th character

Screenshots

image

Info (please complete the following information):

Additional context

Update: Actually the max length of an interface can be 15 characters. I'll create a PR to increase the max length from 10 to 15.