[mini.tabline] Update display name when terminal buffer issues OSC 0 or 2 #2480
badosu
started this conversation in
Show and tell
Replies: 2 comments 2 replies
|
As an interesting note, for some reason this doesn't work (it always returns) unless I uncomment the notify, any ideas? -- vim.notify(vim.inspect(title))
if not title or title == vim.b[args.buf].term_title then
return
end |
2 replies
|
That's nice! Thanks for sharing! Somehow I missed the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A simple configuration to detect when OSC 0 (icon + title) or OSC 2 (title) is issued by the terminal buffer and updating the display name.
All reactions