Mercurial > vim
view src/proto/terminal.pro @ 11772:f33b9375ba03 v8.0.0768
patch 8.0.0768: terminal window status shows "[Scratch]"
commit https://github.com/vim/vim/commit/2155441460a6dc0a72125f7860507693112a1460
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 24 21:44:43 2017 +0200
patch 8.0.0768: terminal window status shows "[Scratch]"
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 24 Jul 2017 21:45:04 +0200 |
parents | 74abb6c84984 |
children | 5630978ae089 |
line wrap: on
line source
/* terminal.c */ void ex_terminal(exarg_T *eap); 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); void term_update_window(win_T *wp); char_u *term_get_status_text(term_T *term); /* vim: set ft=c : */