mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1318
Problem: Channel with pipes doesn't work in GUI. Solution: Register input handlers for pipes.
This commit is contained in:
@@ -9970,12 +9970,12 @@ f_ch_open(typval_T *argvars, typval_T *rettv)
|
||||
channel = channel_open((char *)address, port, waittime, NULL);
|
||||
if (channel != NULL)
|
||||
{
|
||||
rettv->vval.v_channel = channel;
|
||||
channel_set_json_mode(channel, ch_mode);
|
||||
channel_set_timeout(channel, timeout);
|
||||
if (callback != NULL && *callback != NUL)
|
||||
channel_set_callback(channel, callback);
|
||||
}
|
||||
rettv->vval.v_channel = channel;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user