summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-12 22:10:20 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-12 22:10:20 +0100
commit66e0b88d27966adae568f4f2ddbf2ff10bb812d9 (patch)
tree106ff2d11f0f01fa6f69f3f3e1b25be02f6b13f5 /manager.h
parent790a796de93c6f9868ce78f4aea9262461e2b8c9 (diff)
Proper tab closing
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/manager.h b/manager.h
index 55dfc96..80f9ef9 100644
--- a/manager.h
+++ b/manager.h
@@ -11,16 +11,18 @@ using namespace std;
class Manager{
- vector<Buffer> buffers;
+ vector<Buffer*> buffers;
i64 activeIdx;
bool should_quit=false;
bool have_screen=false;
- Maybe<string> runPrompt(const string &promptString);
+ Maybe<string> promptString(const string &promptString);
+ char promptChar(const string &promptString,const string &options,char def);
public:
Manager();
+ ~Manager();
void receive(const Command &cmd);
void show();