Gcr.SystemPrompter::new-prompt
connect('new-prompt', function (systemPrompter, ): Gcr.Prompt);
Signal emitted to create a new prompt when needed.
The default implementation of this signal creates a prompt of the type Gcr.SystemPrompter.prototype.get_prompt_type.
- systemPrompter
instance of Gcr.SystemPrompter that is emitting the signal