diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-05-10 15:21:49 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-05-10 19:30:13 +1000 |
| commit | 60154300f9235d935e3cfd8e15c2d493fdcfb4ff (patch) | |
| tree | ce3058a83222a1d60edcc7858794f4a6fdb2cee0 /src/remote.hh | |
| parent | 2104af07713edc37be5f3df1444bc9a39b6637a7 (diff) | |
Support piping data to client stdin
Pass the client stdin fd to the server and open a fifo buffer
from it.
Fixes #3394
Diffstat (limited to 'src/remote.hh')
| -rw-r--r-- | src/remote.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.hh b/src/remote.hh index e465d087..89c2f438 100644 --- a/src/remote.hh +++ b/src/remote.hh @@ -32,7 +32,7 @@ class RemoteClient public: RemoteClient(StringView session, StringView name, std::unique_ptr<UserInterface>&& ui, int pid, const EnvVarMap& env_vars, StringView init_command, - Optional<BufferCoord> init_coord); + Optional<BufferCoord> init_coord, Optional<int> stdin_fd); bool is_ui_ok() const; const Optional<int>& exit_status() const { return m_exit_status; } |
