diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-09-26 17:50:56 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-09-26 17:50:56 +1000 |
| commit | 23afed056b14f66b345a4b36dd742848bec91ea2 (patch) | |
| tree | 3df6e22749386d9db986393b8bff034c8d01be2a /src/remote.hh | |
| parent | 3bf16c0fb12509934334593aa284730f137dda08 (diff) | |
Add a daemonize-session command and refactor local client handling
Make it possible to move the current session to a daemon one after
the fact, which is useful to ensure the session state survives client
disconnecting, for example when working from ssh.
Diffstat (limited to 'src/remote.hh')
| -rw-r--r-- | src/remote.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.hh b/src/remote.hh index 903e03f1..99e60cbd 100644 --- a/src/remote.hh +++ b/src/remote.hh @@ -59,6 +59,7 @@ struct Server : public Singleton<Server> bool negotiating() const { return not m_accepters.empty(); } + void daemonize() { m_is_daemon = true; } bool is_daemon() const { return m_is_daemon; } private: |
