On Mon, March 4, 2013 23:32, Bram Moolenaar wrote: > Christian Brabandt wrote: >> Bram, >> there seems to be a problem, that vim also records K_SPECIAL and the >> following bytes that are used for mouseclicks, and which seems to be a >> problem when replaying a script in Windows. >> See this question stackoverflow: >> http://stackoverflow.com/questions/3981535/using-the-w-option-of-vim >> >> This patch fixes it by making sure, when writing the scriptout file, to >> skip the K_SPECIAL and following bytes. > > Dropping all K_SPECIAL codes would mean some commands get lost, right?
Not sure, those keys are actual useful when recording a script. > How about inserting a CSI character (0x80) ? Nevermind, I just tried to replay such a script on Windows and didn't see any errors. Perhaps he used :source to source such a script and didn't use :source! and I don't see an error with using the parameter -s so it seems ok for now. I wonder, why people start complaining over there at Stackoverflow and don't write actual bug reports anymore. regards, Christian -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
