Lines Matching defs:prompt
70 static char *prompt; /* Tell libedit what the current prompt is */
104 * A callback routine for libedit to find out what the current prompt is.
110 if (prompt == NULL)
111 prompt = "";
112 return prompt;
118 * and buffer what our prompt looks like (via the `prompt' global).
136 prompt = Buffer;
147 prompt = strrchr(Buffer, '\n');
152 last = prompt;
158 prompt = prompt == NULL ? Buffer : prompt+1;
180 prompt = "";