On Nov 21, 2014 10:18 AM, "Jun T." wrote: > > If I add 'zpty_flush' before 'zpty -w', then the test succeeds on my Mac > without 'bindkey -r "\e~"'; but it doesn't work on FreeBSD. I found that adding the zpty_flush made the test succeed some of the time rather than consistently failing, but it's still not reliable. E.g., sometimes the second ESC~ fails instead of the first, sometimes both succeed.