Searched refs:prevcursor (Results 1 – 2 of 2) sorted by relevance
255 int prevcursor = cursor; in edit_cmdline() local264 memmove(cmdline + cursor, cmdline + prevcursor, in edit_cmdline()265 len - prevcursor + 1); in edit_cmdline()270 char *p = cmdline + prevcursor; in edit_cmdline()271 for (i = 0; i < len - prevcursor + 1; i++) in edit_cmdline()275 len -= (prevcursor - cursor); in edit_cmdline()
522 int prevcursor = cursor; in edit_cmdline() local530 memmove(cmdline + cursor, cmdline + prevcursor, in edit_cmdline()531 len - prevcursor + 1); in edit_cmdline()532 len -= (prevcursor - cursor); in edit_cmdline()