mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
parent
07652d3b9e
commit
fcb60abc13
7 changed files with 22 additions and 0 deletions
|
|
@ -2634,9 +2634,13 @@ term_xcursor_update(struct terminal *term)
|
|||
void
|
||||
term_set_window_title(struct terminal *term, const char *title)
|
||||
{
|
||||
if (term->conf->locked_title && term->window_title_has_been_set)
|
||||
return;
|
||||
|
||||
free(term->window_title);
|
||||
term->window_title = xstrdup(title);
|
||||
render_refresh_title(term);
|
||||
term->window_title_has_been_set = true;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue