xref: /vim-8.2.3635/src/proto/terminal.pro (revision 87fd0924)
1/* terminal.c */
2void init_job_options(jobopt_T *opt);
3buf_T *term_start(typval_T *argvar, char **argv, jobopt_T *opt, int flags);
4void ex_terminal(exarg_T *eap);
5int term_write_session(FILE *fd, win_T *wp, hashtab_T *terminal_bufs);
6int term_should_restore(buf_T *buf);
7void free_terminal(buf_T *buf);
8void free_unused_terminals(void);
9void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel);
10int term_job_running(term_T *term);
11int term_none_open(term_T *term);
12int term_try_stop_job(buf_T *buf);
13int term_check_timers(int next_due_arg, proftime_T *now);
14int term_in_normal_mode(void);
15void term_enter_job_mode(void);
16int send_keys_to_term(term_T *term, int c, int modmask, int typed);
17int terminal_is_active(void);
18cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
19int term_use_loop(void);
20void term_win_entered(void);
21int terminal_loop(int blocking);
22int may_close_term_popup(void);
23void term_channel_closed(channel_T *ch);
24void term_check_channel_closed_recently(void);
25int term_do_update_window(win_T *wp);
26void term_update_window(win_T *wp);
27int term_is_finished(buf_T *buf);
28int term_show_buffer(buf_T *buf);
29void term_change_in_curbuf(void);
30int term_get_attr(win_T *wp, linenr_T lnum, int col);
31void term_reset_wincolor(win_T *wp);
32void term_update_wincolor(win_T *wp);
33void term_update_wincolor_all(void);
34void term_update_colors_all(void);
35char_u *term_get_status_text(term_T *term);
36void term_clear_status_text(term_T *term);
37int set_ref_in_term(int copyID);
38void f_term_dumpwrite(typval_T *argvars, typval_T *rettv);
39int term_swap_diff(void);
40void f_term_dumpdiff(typval_T *argvars, typval_T *rettv);
41void f_term_dumpload(typval_T *argvars, typval_T *rettv);
42void f_term_getaltscreen(typval_T *argvars, typval_T *rettv);
43void f_term_getattr(typval_T *argvars, typval_T *rettv);
44void f_term_getcursor(typval_T *argvars, typval_T *rettv);
45void f_term_getjob(typval_T *argvars, typval_T *rettv);
46void f_term_getline(typval_T *argvars, typval_T *rettv);
47void f_term_getscrolled(typval_T *argvars, typval_T *rettv);
48void f_term_getsize(typval_T *argvars, typval_T *rettv);
49void f_term_setsize(typval_T *argvars, typval_T *rettv);
50void f_term_getstatus(typval_T *argvars, typval_T *rettv);
51void f_term_gettitle(typval_T *argvars, typval_T *rettv);
52void f_term_gettty(typval_T *argvars, typval_T *rettv);
53void f_term_list(typval_T *argvars, typval_T *rettv);
54void f_term_scrape(typval_T *argvars, typval_T *rettv);
55void f_term_sendkeys(typval_T *argvars, typval_T *rettv);
56void f_term_getansicolors(typval_T *argvars, typval_T *rettv);
57void f_term_setansicolors(typval_T *argvars, typval_T *rettv);
58void f_term_setapi(typval_T *argvars, typval_T *rettv);
59void f_term_setrestore(typval_T *argvars, typval_T *rettv);
60void f_term_setkill(typval_T *argvars, typval_T *rettv);
61void f_term_start(typval_T *argvars, typval_T *rettv);
62void f_term_wait(typval_T *argvars, typval_T *rettv);
63void term_send_eof(channel_T *ch);
64job_T *term_getjob(term_T *term);
65int use_conpty(void);
66int terminal_enabled(void);
67/* vim: set ft=c : */
68