On Sun, Jan 11, 2015 at 5:27 AM, Hayaki Saito <[email protected]> wrote: > 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().
Ok! Like I said tis was only from looking at the diff, not at the full source code... Christ van Willegen -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- -- 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.
