From 6da4548f0e7ccaf2b3271c0b0d59b5c8869792a7 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 14 May 2017 07:43:07 +0200 Subject: 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. --- src/nvim/terminal.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/nvim/terminal.c') diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 31875fac31..39cb2b6372 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -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 {{{ -- cgit