Dominique wrote:
> Function term_gettitle() is currently not tested according to > codecov: > > https://codecov.io/gh/vim/vim/src/master/src/terminal.c#L4971 > > I thought of adding a test, but term_gettitle() seems to always > return an empty string. For example, this command... > > :echo 'term title=[' . term_gettitle(term_start("bash")) . ']' > > ... prints: > > term title=[] > > It looks like a bug or am I missing something? The shell doesn't set the title, you need to run something that does. Running Vim it shows "[No name] - VIM". You may also need to wait a moment before the running job updates the title. -- hundred-and-one symptoms of being an internet addict: 120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun." /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
