Lines Matching defs:prompt
19 interactively change the prompt (which is very nice imo). Also, I
66 * prompt, which can't be done using the regular interface since rl_prompt is
74 * to be re-echoed on the new prompt when it returns. Unfortunately, the default
75 * terminal configuration doesn't do this. After the prompt returns, the user
78 * the prompt and then type "bar" before the prompt returns (you have 3
79 * seconds). Notice how "bar" is re-echoed on the prompt after the prompt
82 * the same thing. When the prompt returns, you should not see "bar". Now type
91 int prompt = 1;
120 rl_add_defun("change-prompt", change_prompt, CTRL('t'));
166 /* toggle the prompt variable */
167 prompt = !prompt;
172 /* install a new handler which will change the prompt and erase the current line */
189 prompt ? "Hit ctrl-t to toggle prompt> " : "Pretty cool huh?> ");