aboutsummaryrefslogtreecommitdiffstats
path: root/commands/parser_test.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-08-20 21:08:52 +0200
committerRobin Jarry <robin@jarry.cc>2023-08-26 21:41:05 +0200
commit412493ad10daddfd9cb82188e34dc4b73028422c (patch)
tree5f6ba94bc7c704c319ff8281339bfeb462a1a906 /commands/parser_test.go
parent8ac84d0c2bd035db2c9404aee6d06cbd91fd79a0 (diff)
downloadaerc-412493ad10daddfd9cb82188e34dc4b73028422c.tar.gz
wizard: factorize ui layout
Avoid code duplication. Use a struct to store all fields along with their respective labels. Generate a ui.Grid at once with the correct padding between the fields. Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'commands/parser_test.go')
0 files changed, 0 insertions, 0 deletions