mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0373: type of term_sendkeys() is unknown
Problem: Type of term_sendkeys() is unknown. Solution: Just return zero. (closes #5762)
This commit is contained in:
@@ -5746,13 +5746,12 @@ f_term_scrape(typval_T *argvars, typval_T *rettv)
|
||||
* "term_sendkeys(buf, keys)" function
|
||||
*/
|
||||
void
|
||||
f_term_sendkeys(typval_T *argvars, typval_T *rettv)
|
||||
f_term_sendkeys(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
{
|
||||
buf_T *buf = term_get_buf(argvars, "term_sendkeys()");
|
||||
char_u *msg;
|
||||
term_T *term;
|
||||
|
||||
rettv->v_type = VAR_UNKNOWN;
|
||||
if (buf == NULL)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user