annotate src/proto/terminal.pro @ 11846:1c65cad8b967 v8.0.0803

patch 8.0.0804: terminal window functions not yet implemented commit https://github.com/vim/vim/commit/c6df10e5d33ffab2c392626e285317ea8241ebff Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 29 20:15:08 2017 +0200 patch 8.0.0804: terminal window functions not yet implemented Problem: Terminal window functions not yet implemented. Solution: Implement several functions. Add a first test. (Yasuhiro Matsumoto, closes #1871)
author Christian Brabandt <cb@256bit.org>
date Sat, 29 Jul 2017 20:30:04 +0200
parents f080b225a2a4
children be40c8a9240d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 /* terminal.c */
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 void ex_terminal(exarg_T *eap);
11834
0cfe4a07c2ad patch 8.0.0797: finished job in terminal window is not handled
Christian Brabandt <cb@256bit.org>
parents: 11804
diff changeset
3 void free_terminal(buf_T *buf);
11670
3b2afa2b77b3 patch 8.0.0718: output of job in terminal is not displayed
Christian Brabandt <cb@256bit.org>
parents: 11621
diff changeset
4 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel);
11834
0cfe4a07c2ad patch 8.0.0797: finished job in terminal window is not handled
Christian Brabandt <cb@256bit.org>
parents: 11804
diff changeset
5 int terminal_loop(void);
11846
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
6 void term_job_ended(job_T *job);
11834
0cfe4a07c2ad patch 8.0.0797: finished job in terminal window is not handled
Christian Brabandt <cb@256bit.org>
parents: 11804
diff changeset
7 void term_channel_closed(channel_T *ch);
0cfe4a07c2ad patch 8.0.0797: finished job in terminal window is not handled
Christian Brabandt <cb@256bit.org>
parents: 11804
diff changeset
8 int term_update_window(win_T *wp);
11836
f080b225a2a4 patch 8.0.0798: no highlighting in a terminal window with a finished job
Christian Brabandt <cb@256bit.org>
parents: 11834
diff changeset
9 int term_is_finished(buf_T *buf);
f080b225a2a4 patch 8.0.0798: no highlighting in a terminal window with a finished job
Christian Brabandt <cb@256bit.org>
parents: 11834
diff changeset
10 void term_change_in_curbuf(void);
f080b225a2a4 patch 8.0.0798: no highlighting in a terminal window with a finished job
Christian Brabandt <cb@256bit.org>
parents: 11834
diff changeset
11 int term_get_attr(buf_T *buf, linenr_T lnum, int col);
11772
f33b9375ba03 patch 8.0.0768: terminal window status shows "[Scratch]"
Christian Brabandt <cb@256bit.org>
parents: 11757
diff changeset
12 char_u *term_get_status_text(term_T *term);
11804
5630978ae089 patch 8.0.0784: job of terminal may be garbage collected
Christian Brabandt <cb@256bit.org>
parents: 11772
diff changeset
13 int set_ref_in_term(int copyID);
11846
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
14 void f_term_getattr(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
15 void f_term_getjob(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
16 void f_term_getline(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
17 void f_term_getsize(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
18 void f_term_list(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
19 void f_term_start(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
20 void f_term_scrape(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
21 void f_term_sendkeys(typval_T *argvars, typval_T *rettv);
1c65cad8b967 patch 8.0.0804: terminal window functions not yet implemented
Christian Brabandt <cb@256bit.org>
parents: 11836
diff changeset
22 void f_term_wait(typval_T *argvars, typval_T *rettv);
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 /* vim: set ft=c : */