mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
feat(ui): UI :detach command
Problem: Cannot detach the current UI. Solution: - Introduce `:detach`. - Introduce `Channel.detach`. Co-authored-by: bfredl <bjorn.linse@gmail.com>
This commit is contained in:
@@ -31,6 +31,9 @@ struct Channel {
|
||||
} stream;
|
||||
|
||||
bool is_rpc;
|
||||
bool detach; ///< Prevents self-exit on channel-close. Normally, Nvim self-exits if its primary
|
||||
///< RPC channel is closed, unless detach=true. Note: currently, detach=false does
|
||||
///< not FORCE self-exit.
|
||||
RpcState rpc;
|
||||
Terminal *term;
|
||||
|
||||
|
Reference in New Issue
Block a user