Hi, > + char_u name[2]; > + > + name[0] = (int)KS_EXTRA; > + > + /* handle focus in event */ > + name[1] = (int)KE_FOCUSGAINED; > + add_termcode(name, (char_u *)"\033[I", FALSE); > > Does add_termcode handle a non-zero terminated string?
Yes, in term.c, names of termcode seem to be always treated as fixed size(2byte) data. I confirmed these are always accessed with bracket operators "[]", at least in add_termcode(). Thanks, -- Hayaki Saito -- -- 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/d/optout.
