diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-01-21 12:14:44 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-01-21 12:17:49 +0000 |
| commit | e8ee8c23d837d64b1df1d39a97acb88c7cb207de (patch) | |
| tree | 55af498c0cda9a11484dd891f17edb1380c21ae8 /src/remote.hh | |
| parent | c6a7924b80f25227212d493d367a8c3bec16e4ee (diff) | |
Support the +line syntax for clients as well.
Fix a crash on daemon quit as well.
Diffstat (limited to 'src/remote.hh')
| -rw-r--r-- | src/remote.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/remote.hh b/src/remote.hh index 111a4973..b0cad37c 100644 --- a/src/remote.hh +++ b/src/remote.hh @@ -22,6 +22,9 @@ struct disconnected : runtime_error class FDWatcher; class UserInterface; +template<typename T> struct Optional; +struct BufferCoord; + using RemoteBuffer = Vector<char, MemoryDomain::Remote>; // A remote client handle communication between a client running on the server @@ -30,7 +33,8 @@ class RemoteClient { public: RemoteClient(StringView session, std::unique_ptr<UserInterface>&& ui, - const EnvVarMap& env_vars, StringView init_command); + const EnvVarMap& env_vars, StringView init_command, + Optional<BufferCoord> init_coord); private: std::unique_ptr<UserInterface> m_ui; |
