Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Damn race conditions ...
2014/03/17 06:15, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> This is still happening sporadically:
What OS (and hardware) are you using?
I'm not getting this on my Macs (10.8 and 10.9) an FreeBSD
and can't test any fix by myself.
What happens if you modify the test as follows (i.e., add a text
after 'redo') ?
(I guess you have already tried uncommenting all of zpty_flush)
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst
index 60f878e..d81cf16 100644
--- a/Test/X02zlevi.ztst
+++ b/Test/X02zlevi.ztst
@@ -50,10 +50,10 @@
>CURSOR: 1
comptesteval 'bindkey -a "^K" redo'
- zletest $'123\C-_\e\C-k'
+ zletest $'123\C-_\e\C-ka4'
0:undo in insert mode, redo in command
->BUFFER: 123
->CURSOR: 2
+>BUFFER: 1234
+>CURSOR: 4
comptesteval 'bindkey "^Y" redo'
zletest $'pre\eA123\C-_\C-y\eu'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author