api: list information about all channels/jobs.

Fire autocmd when channel opens or its info changes.
Add a way for API clients can describe themselves.
This commit is contained in:
Björn Linse
2017-05-14 07:43:07 +02:00
parent f1bc152fa0
commit 6da4548f0e
12 changed files with 395 additions and 46 deletions

View File

@@ -619,6 +619,11 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr,
}
}
Buffer terminal_buf(const Terminal *term)
{
return term->buf_handle;
}
// }}}
// libvterm callbacks {{{