Lines Matching refs:history_curr
33 static struct edit_history *history_curr; variable
196 history_curr = h; in history_add()
211 history_curr = h; in history_add()
218 cmdbuf_len = cmdbuf_pos = os_strlen(history_curr->str); in history_use()
219 os_memcpy(cmdbuf, history_curr->str, cmdbuf_len); in history_use()
226 if (history_curr == NULL) in history_prev()
229 if (history_curr == in history_prev()
240 if (history_curr == in history_prev()
244 history_curr = dl_list_entry(history_curr->list.next, in history_prev()
252 if (history_curr == NULL || in history_next()
253 history_curr == in history_next()
265 history_curr = dl_list_entry(history_curr->list.prev, in history_next()
320 printf("%s%s\n", h == history_curr ? "[C]" : "", h->str); in history_debug_dump()
1120 history_curr = NULL; in edit_init()