mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
Merge pull request #17687 from zeertzjq/fix-channel-consistency
fix(channel): fix channel consistency
This commit is contained in:
@@ -1140,6 +1140,7 @@ Integer nvim_open_term(Buffer buffer, DictionaryOf(LuaRef) opts, Error *err)
|
||||
TerminalOptions topts;
|
||||
Channel *chan = channel_alloc(kChannelStreamInternal);
|
||||
chan->stream.internal.cb = cb;
|
||||
chan->stream.internal.closed = false;
|
||||
topts.data = chan;
|
||||
// NB: overridden in terminal_check_size if a window is already
|
||||
// displaying the buffer
|
||||
|
Reference in New Issue
Block a user