summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/manager.h b/manager.h
index 72fd2d3..55dfc96 100644
--- a/manager.h
+++ b/manager.h
@@ -5,6 +5,7 @@
#include "buffer.h"
#include "command.h"
#include "global.h"
+#include "maybe.h"
using namespace std;
@@ -14,7 +15,9 @@ class Manager{
i64 activeIdx;
bool should_quit=false;
- void runPrompt();
+ bool have_screen=false;
+
+ Maybe<string> runPrompt(const string &promptString);
public:
Manager();