Mercurial > vim
comparison src/proto/terminal.pro @ 11757:74abb6c84984 v8.0.0761
patch 8.0.0761: options not set properly for a terminal buffer
commit https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 23 19:51:01 2017 +0200
patch 8.0.0761: options not set properly for a terminal buffer
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Jul 2017 20:00:05 +0200 |
parents | ce434212d682 |
children | f33b9375ba03 |
comparison
equal
deleted
inserted
replaced
11756:e3e89d6460d0 | 11757:74abb6c84984 |
---|---|
1 /* terminal.c */ | 1 /* terminal.c */ |
2 void ex_terminal(exarg_T *eap); | 2 void ex_terminal(exarg_T *eap); |
3 void free_terminal(term_T *term); | 3 void free_terminal(term_T *term); |
4 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); | 4 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); |
5 void terminal_loop(void); | |
6 void term_job_ended(job_T *job); | |
7 int term_job_running(buf_T *buf); | |
5 void term_update_window(win_T *wp); | 8 void term_update_window(win_T *wp); |
6 void terminal_loop(void); | |
7 /* vim: set ft=c : */ | 9 /* vim: set ft=c : */ |