Searched refs:promptlen (Results 1 – 2 of 2) sorted by relevance
172 int promptlen; variable389 if (promptlen > 14) in main()515 && promptlen > 0) in screen()523 if (nchars < promptlen) in screen()525 else promptlen = 0; in screen()550 if (hard && promptlen > 0) in screen()586 promptlen += 20; in onquit()635 else if (!clreol && (promptlen > 0)) { in end_it()671 else if (promptlen > 0) in prompt()674 promptlen = 8; in prompt()[all …]
143 static short promptlen; /* length of the current prompt */ variable892 promptlen -= width; in ttyin()917 promptlen--; in ttyin()920 promptlen + width >= columns) { in ttyin()942 promptlen += width; in ttyin()1689 promptlen += n; in sopr()1724 if (promptlen == 0) in erase_line()1737 for (col = promptlen - col; col > 0; col--) in erase_line()1740 promptlen = 0; in erase_line()