diff options
| author | Maxime Coste <mawww@kakoune.org> | 2022-12-06 17:48:42 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2022-12-06 17:48:42 +1100 |
| commit | 933e4a599cfd3fc09edd67a024b8af08bbec7c01 (patch) | |
| tree | 5fd476b2a808cffed01ae3adfaecab0f35755281 /src/remote.cc | |
| parent | e7e46ef76a374b9e4a1c48d068023a393d78601c (diff) | |
Load buffer in command line order
Pass the first buffer on the the command line explicitely to client
creation. This ensure the buffer list matches the command line, which
makes buffer-next/buffer-previous a bit more useful.
Fixes #2705
Diffstat (limited to 'src/remote.cc')
| -rw-r--r-- | src/remote.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.cc b/src/remote.cc index 99fda3e1..50dda1b0 100644 --- a/src/remote.cc +++ b/src/remote.cc @@ -793,7 +793,7 @@ private: auto* ui = new RemoteUI{sock, dimensions}; ClientManager::instance().create_client( std::unique_ptr<UserInterface>(ui), pid, std::move(name), - std::move(env_vars), init_cmds, init_coord, + std::move(env_vars), init_cmds, {}, init_coord, [ui](int status) { ui->exit(status); }); Server::instance().remove_accepter(this); |
