[apps/code] Fix input(), that did not return the input

This commit is contained in:
Léa Saviot
2020-02-19 13:48:38 +01:00
committed by Quentin Guidée
parent 73bec71db3
commit 84a66d3b31
4 changed files with 62 additions and 14 deletions

View File

@@ -34,6 +34,8 @@ public:
bool insertText(const char * text);
void setPrompt(const char * prompt);
const char * promptText() const { return m_promptView.text(); }
void clearAndReduceSize();
const char * shiftCurrentTextAndClear();
private:
PointerTextView m_promptView;
TextField m_textField;