Make plaintext width 21 characters
This commit is contained in:
parent
071df1a0fa
commit
e57966523e
@ -16,7 +16,7 @@
|
||||
|
||||
vrnp-static = pkgs.buildGoModule {
|
||||
pname = "vrnp";
|
||||
version = "0.0.0";
|
||||
version = "0.0.1";
|
||||
vendorHash = null;
|
||||
|
||||
# For building the package, we use only the files not ignored by Git as inputs.
|
||||
@ -34,6 +34,7 @@
|
||||
devShell.${system} = pkgs.mkShellNoCC {
|
||||
packages = [
|
||||
pkgs.go
|
||||
(pkgs.python3.withPackages (ps: with ps; [ pillow ]))
|
||||
];
|
||||
};
|
||||
packages.${system} = {
|
||||
|
4
main.go
4
main.go
@ -143,9 +143,9 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Fprintf(w, "%2s %-22s %6s\n",
|
||||
fmt.Fprintf(w, "%2s %-11s %6s\n",
|
||||
d.ServingLine.Symbol,
|
||||
direction[:min(len(direction), 22)],
|
||||
direction[:min(len(direction), 11)],
|
||||
leaving,
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user