aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/authinfo.go
diff options
context:
space:
mode:
authorPinghao Wu <xdavidwuph@gmail.com>2022-07-27 20:08:03 +0800
committerRobin Jarry <robin@jarry.cc>2022-07-30 17:58:26 +0200
commitb8ef8d2628e2b307864aee1f61ab4036d0473b33 (patch)
treeb29ffeb2d13f53ddd0adb1c3bc3e615e20f84440 /widgets/authinfo.go
parent3304ea18bac8e5faae383c1dfc16f6f910e2c53e (diff)
downloadaerc-b8ef8d2628e2b307864aee1f61ab4036d0473b33.tar.gz
index: workaround for wide character printing
This is a workaround for https://todo.sr.ht/~rjarry/aerc/22, by injecting zero-width spaces in front of wide characters to make up width calculation in fmt.Sprintf. With this applied, columns will still be misaligned a little only if they are left with trailing zero-width spaces when cut. It is better than a large offset caused by each wide characters in the column. References: https://todo.sr.ht/~rjarry/aerc/22 Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com> Acked-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'widgets/authinfo.go')
0 files changed, 0 insertions, 0 deletions