[python] "input" now displays the provided prompt

This commit is contained in:
Romain Goyet
2018-01-30 14:12:54 +01:00
committed by EmilieNumworks
parent 314fde955a
commit fd7516f8ac
8 changed files with 40 additions and 26 deletions

View File

@@ -62,7 +62,7 @@ public:
// MicroPython::ExecutionEnvironment
void displaySandbox() override;
void printText(const char * text, size_t length) override;
const char * input() override;
const char * inputText(const char * prompt) override;
private:
bool inputRunLoopActive() { return m_inputRunLoopActive; }