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)
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index bdab890..d7d1538 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -4,6 +4,6 @@
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 : */