diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-29 20:15:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-29 20:15:08 +0200 |
commit | c6df10e5d33ffab2c392626e285317ea8241ebff (patch) | |
tree | b8575224551ff6774d6eaaa2a716aede712967fb /src/proto | |
parent | 70229f951f00cdcff790f2e70b0b0a601202e9e7 (diff) |
patch 8.0.0804: terminal window functions not yet implementedv8.0.0803
Problem: Terminal window functions not yet implemented.
Solution: Implement several functions. Add a first test. (Yasuhiro
Matsumoto, closes #1871)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/evalfunc.pro | 1 | ||||
-rw-r--r-- | src/proto/terminal.pro | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/proto/evalfunc.pro b/src/proto/evalfunc.pro index c673e27a53..174afb6f23 100644 --- a/src/proto/evalfunc.pro +++ b/src/proto/evalfunc.pro @@ -1,4 +1,5 @@ /* evalfunc.c */ +buf_T* get_buf_tv(typval_T *tv, int curtab_only); char_u *get_function_name(expand_T *xp, int idx); char_u *get_expr_name(expand_T *xp, int idx); int find_internal_func(char_u *name); diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index fbc0d1e810..daa7706485 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -3,6 +3,7 @@ void ex_terminal(exarg_T *eap); void free_terminal(buf_T *buf); void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); int terminal_loop(void); +void term_job_ended(job_T *job); void term_channel_closed(channel_T *ch); int term_update_window(win_T *wp); int term_is_finished(buf_T *buf); @@ -10,4 +11,13 @@ void term_change_in_curbuf(void); int term_get_attr(buf_T *buf, linenr_T lnum, int col); char_u *term_get_status_text(term_T *term); int set_ref_in_term(int copyID); +void f_term_getattr(typval_T *argvars, typval_T *rettv); +void f_term_getjob(typval_T *argvars, typval_T *rettv); +void f_term_getline(typval_T *argvars, typval_T *rettv); +void f_term_getsize(typval_T *argvars, typval_T *rettv); +void f_term_list(typval_T *argvars, typval_T *rettv); +void f_term_start(typval_T *argvars, typval_T *rettv); +void f_term_scrape(typval_T *argvars, typval_T *rettv); +void f_term_sendkeys(typval_T *argvars, typval_T *rettv); +void f_term_wait(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */ |