Skip to content

Public access to prompt() #30

@bluespider42

Description

@bluespider42

In version 0.6 self.prompt() has moved inside the inner_runner which is not public. It was useful to have access to .prompt() to display the prompt after printing any information so that the user knows it is ready for input.
Adding this to the runner impl is working for my purposes (not currently using noline). Can submit pr if wanted.

pub fn prompt(&mut self, newline:bool) {
        self.inner.prompt(&mut self.interface, newline);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions