Searched refs:histline (Results 1 – 4 of 4) sorted by relevance
39 extern struct Strbuf histline;995 np->histline = Strsave(histline.s); in enthist()997 np->histline = NULL; in enthist()1004 np->histline = NULL; in enthist()1044 if (hp->histline) in hfree()1045 xfree(hp->histline); in hfree()1074 if (HistLit && hp->histline) in phist()1075 xprintf("%S\n", hp->histline); in phist()1198 if (HistLit && hp->histline) in fmthist()1199 return xasprintf("%S", hp->histline); in fmthist()
121 struct Strbuf histline; /* = Strbuf_INIT; last line input */ variable152 histline.len = 0; in lex()191 Strbuf_terminate(&histline); in lex()192 if (histline.len != 0 && histline.s[histline.len - 1] == '\n') in lex()193 histline.s[histline.len - 1] = '\0'; in lex()1541 Strbuf_append1(&histline, c); in readc()
995 if (HistLit && hp->histline) { in GetHistLine()996 copyn(InputBuf, hp->histline, INBUFSIZE);/*FIXBUF*/ in GetHistLine()1724 if (hp->histline) { in e_toggle_hist()1725 copyn(InputBuf, hp->histline, INBUFSIZE);/*FIXBUF*/ in e_toggle_hist()1881 if (hp->histline == NULL) in e_up_search_hist()1882 hp->histline = sprlex(&hp->Hlex); in e_up_search_hist()1884 hl = hp->histline; in e_up_search_hist()1940 if (hp->histline == NULL) in e_down_search_hist()1941 hp->histline = sprlex(&hp->Hlex); in e_down_search_hist()1943 hl = hp->histline; in e_down_search_hist()
1075 Char *histline; member