diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-24 21:44:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-24 21:44:43 +0200 |
commit | 2155441460a6dc0a72125f7860507693112a1460 (patch) | |
tree | bfc7f9ad6f58cf6d2cf980e93a90695186ca2b97 /src/proto | |
parent | d60547bf80881f6c99bcbd7c8c4c6cfb7e405a90 (diff) | |
download | vim-git-2155441460a6dc0a72125f7860507693112a1460.tar.gz |
patch 8.0.0768: terminal window status shows "[Scratch]"v8.0.0768
Problem: Terminal window status shows "[Scratch]".
Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
Store the terminal title that vterm sends and use it. Update the
special buffer name. (closes #1869)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/terminal.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index bdab8902b..d7d153850 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -4,6 +4,6 @@ void free_terminal(term_T *term); void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); void terminal_loop(void); void term_job_ended(job_T *job); -int term_job_running(buf_T *buf); void term_update_window(win_T *wp); +char_u *term_get_status_text(term_T *term); /* vim: set ft=c : */ |