Each column of the device list is as wide as its widest cell and the services get the rest of the line, instead of fixed widths and weights. When the terminal is too narrow, the widest of name, vendor and services are shortened first, never below their minimum. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
7 lines
257 B
Go
7 lines
257 B
Go
package main
|
|
|
|
// Version is a var, not a const, so build.sh can put the built number in via
|
|
// -ldflags "-X main.Version=…". The value here only shows up in a bare
|
|
// `go build`; the version actually built is the one in version.txt.
|
|
var Version = "1.0.1"
|