aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/parse.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-09-28 13:17:21 -0500
committerRobin Jarry <robin@jarry.cc>2022-09-29 16:42:10 +0200
commit055c6dc6604f7f5ae7de060a36c81dc77801dca3 (patch)
tree06235c64c677f3a63ac020d6ef15940ba247d60b /worker/lib/parse.go
parent75fc42e270b319efb322bd7eb2c1163a936e4516 (diff)
downloadaerc-055c6dc6604f7f5ae7de060a36c81dc77801dca3.tar.gz
exline: don't draw completions for keybinds
The exline widget works by matching actual keystrokes to a map of keybinds, and if a match is found sending simulated keystrokes through aerc. This has the effect of aerc thinking we are actually typing in the expanded command, and aerc attempts to draw the completions. This results in even basic navigation having two screen draws: For example, pressing 'j' to select the next message (:next), draws once for the initial key event and state change, and again after the completion debounce timer. Disable tab completion while aerc is simulating keystrokes. If the exline still has focus after simulating keystrokes, restore tab completion. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'worker/lib/parse.go')
0 files changed, 0 insertions, 0 deletions