Lines Matching refs:recall
177 GlhLineNode *recall; /* The last line recalled, or NULL if no recall */
273 glh->recall = NULL;
565 if(glh->recall) {
566 node = glh->recall->prev;
567 old_line = glh->recall->line;
587 glh->recall = node;
648 if(glh->recall) {
649 node = glh->recall->next;
650 old_line = glh->recall->line;
672 glh->recall = node;
715 if(!glh->recall)
719 * glh->recall to NULL before calling _glh_discard_line(), to avoid an
722 glh->recall = NULL;
838 glh->recall = node;
880 if(!glh->enable || !glh->buffer || glh->max_lines == 0 || !glh->recall)
904 * the one that is currently being recalled. If a recall session isn't
914 * being recalled, or 0 if no recall session is
929 for(node=glh->recall; node && offset != 0; node=node->next) {
934 for(node=glh->recall; node && offset != 0; node=node->prev) {
982 glh->recall = node;
1919 if(node == glh->recall)
2485 * This function should be called whenever a new line recall is
2500 * If a recall session has already been started, but we have returned
2506 if(glh->recall && glh->recall == glh->list.tail &&
2507 !_glh_is_line(glh->recall->line, line, strlen(line))) {
2511 * If this is the first line recall of a new recall session, save the
2512 * current line for potential recall later, and mark it as the last
2515 if(!glh->recall) {
2518 glh->recall = glh->list.tail;
2540 return glh && glh->recall;