zsh-users
 help / color / mirror / code / Atom feed
* How is it guaranteed that zle is active during sched call?
@ 2016-09-10 22:28 Sebastian Gniazdowski
  2016-09-11 18:06 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2016-09-10 22:28 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-11 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-10 22:28 How is it guaranteed that zle is active during sched call? Sebastian Gniazdowski
2016-09-11 18:06 ` Peter Stephenson
2016-09-11 20:08   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).