Mercurial > vim
annotate src/proto/terminal.pro @ 11834:0cfe4a07c2ad v8.0.0797
patch 8.0.0797: finished job in terminal window is not handled
commit https://github.com/vim/vim/commit/d85f271bf8516dbd90be4d18f905f0abbfcd6db6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 28 21:51:57 2017 +0200
patch 8.0.0797: finished job in terminal window is not handled
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 28 Jul 2017 22:00:04 +0200 |
parents | 5630978ae089 |
children | f080b225a2a4 |
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); |
0cfe4a07c2ad
patch 8.0.0797: finished job in terminal window is not handled
Christian Brabandt <cb@256bit.org>
parents:
11804
diff
changeset
|
6 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
|
7 int term_update_window(win_T *wp); |
11772
f33b9375ba03
patch 8.0.0768: terminal window status shows "[Scratch]"
Christian Brabandt <cb@256bit.org>
parents:
11757
diff
changeset
|
8 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
|
9 int set_ref_in_term(int copyID); |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 /* vim: set ft=c : */ |