aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/idler.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-05-07 05:29:43 +0200
committerRobin Jarry <robin@jarry.cc>2022-05-08 18:36:49 +0200
commit4a4050ee0f3344824ee99c53747b68afeadcaceb (patch)
treee1928f47ae179848fd7cff153932f4a2a3b4bea9 /worker/imap/idler.go
parentb57fceaad4bfcbd4ca3022e013b73eff72079c0b (diff)
downloadaerc-0.10.0.tar.gz
ui: fix panic in selector when resizing terminal0.10.0
Fix panic when resizing the terminal by dynamically adjusting the width of the option selector. The selector does not check the width of the terminal before printing. This can lead to a panic in the account wizard when reducing the terminal width. If the terminal width is not large enough, the space between the options is reduced. If this is still not enough, then the selector will only show the focused option and arrows indicating the alternatives. Fixes: https://todo.sr.ht/~rjarry/aerc/41 Reported-by: Omar Polo <op@omarpolo.com> Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/idler.go')
0 files changed, 0 insertions, 0 deletions