Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How is it guaranteed that zle is active during sched call?
- X-seq: zsh-users 21862
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: How is it guaranteed that zle is active during sched call?
- Date: Sun, 11 Sep 2016 00:28:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=eG8+vmRbI04LE4GXhgJ2Soe2oooeWj4F5JPHiiPYZEQ=; b=pv852tmoK3CwmI+WpQ5tzEI+hNTFcKmflm/sq3LoEk8uUgP0quQvAibu7uxxhtc44A my+T1TMEMjbx5qM2Ks/L8fO7FKon0WLnw1gM7P/+RKuZauzvGc+DJeMKk/Z8xQ0Kbb6W +6U5Dr+x01pgHu+ikmHTCqHvh18/YaDfODuZUNx8wp125QWDBG77THZBpP5AyAOQTML0 mzpz/Lw5LFEUZZwinENItWDhnUXPkKBsCG9On5sGkfJrgbIB1W7XAldxKMJZAWXiHpod zkfo0IeBUocqwc40x2ga22LzvD6jpnUg8djop0efTQ3525s2LDiMAxUg1rdjCNRUvw/o W+dw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
I saw codes on the internet that advise doing "zle && zle
reset-prompt" when wanting a Zle change from a sched call, e.g. here (on
the bottom, last 11 item):
http://chneukirchen.org/blog/archive/2013/03/10-fresh-zsh-tricks-you-may-not-know.html
I once too occurred sched calls that indeed were zle == false, and
added such "zle &&" guard too. Now when I test I always get zle
active. When to expect lack of zle, can this be predicted? Will
re-scheduling (with +1 second) help?
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author