mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Escaping the input loop on a 'home' event should be handled by
the code app instead of the console controller to ensure to escape the input loop even when the toolbox (or any modal) is displayed
This commit is contained in:
committed by
LeaNumworks
parent
5cfe20ad15
commit
da8286d3f7
@@ -34,6 +34,8 @@ public:
|
||||
void autoImport();
|
||||
void autoImportScript(Script script, bool force = false);
|
||||
void runAndPrintForCommand(const char * command);
|
||||
bool inputRunLoopActive() { return m_inputRunLoopActive; }
|
||||
void askInputRunLoopTermination() { m_inputRunLoopActive = false; }
|
||||
|
||||
// ViewController
|
||||
View * view() override { return &m_selectableTableView; }
|
||||
@@ -76,8 +78,6 @@ private:
|
||||
static constexpr const char * k_importCommand1 = "from ";
|
||||
static constexpr const char * k_importCommand2 = " import *";
|
||||
static constexpr size_t k_maxImportCommandSize = 5 + 9 + TextField::maxBufferSize(); // strlen(k_importCommand1) + strlen(k_importCommand2) + TextField::maxBufferSize()
|
||||
bool inputRunLoopActive() { return m_inputRunLoopActive; }
|
||||
void askInputRunLoopTermination() { m_inputRunLoopActive = false; }
|
||||
static constexpr int LineCellType = 0;
|
||||
static constexpr int EditCellType = 1;
|
||||
static constexpr int k_numberOfLineCells = 15; // May change depending on the screen height
|
||||
|
||||
Reference in New Issue
Block a user