process ready replies from worker synchornously in precmd

This commit is contained in:
romkatv 2020-01-25 12:51:46 +01:00
commit f1bb5601fe
2 changed files with 4 additions and 0 deletions

View file

@ -4931,6 +4931,8 @@ _p9k_precmd_impl() {
if [[ $preexec_functions[-1] != _p9k_preexec2 && $preexec_functions[(I)_p9k_preexec2] != 0 ]]; then
preexec_functions=(${(@)preexec_functions:#_p9k_preexec2} _p9k_preexec2)
fi
_p9k_worker_receive
}
_p9k_trapint() {