summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-09-26 20:07:06 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-09-26 20:07:06 +0200
commita2fd1528e6083e08848d0d4bfd6ca1ccb2fa855c (patch)
tree617ed44383ca6187f6408deaf7dffcc6447c28c8 /src/client.hh
parent77eb86bcdb4e2bf1b9663ccc0781abbbbd8b61bf (diff)
Move last insertion from Client to Context
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.hh b/src/client.hh
index d0a64bb3..9601feb5 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -25,7 +25,7 @@ public:
Client();
~Client();
- void insert(Editor& editor, InsertMode mode);
+ void insert(Context& context, InsertMode mode);
void repeat_last_insert(Context& context);
void prompt(const String& prompt, Completer completer,
@@ -41,7 +41,6 @@ public:
private:
friend class ClientMode;
std::unique_ptr<ClientMode> m_mode;
- std::pair<InsertMode, std::vector<Key>> m_last_insert;
};
struct prompt_aborted {};