MCPcopy Index your code
hub / github.com/endbasic/endbasic / set_prompt

Method set_prompt

std/src/console/readline.rs:594–597  ·  view source on GitHub ↗

Sets the prompt to use for the test.

(mut self, prompt: &'static str)

Source from the content-addressed store, hash-verified

592
593 /// Sets the prompt to use for the test.
594 fn set_prompt(mut self, prompt: &'static str) -> Self {
595 self.prompt = prompt;
596 self
597 }
598
599 /// Sets the previous text to use for the test.
600 fn set_previous(mut self, previous: &'static str) -> Self {

Calls

no outgoing calls