mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
term: reset: set title to the user configured title, not "foot"
This commit is contained in:
parent
e466063020
commit
bae11000cc
2 changed files with 2 additions and 2 deletions
|
|
@ -66,6 +66,7 @@
|
|||
* Do not auto-resize a sixel image for which the cllent has specified
|
||||
a size. This fixes an issue where an image would incorrectly
|
||||
overflow into the cell row beneath.
|
||||
* Window title always being set to "foot" on reset.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
|
|
@ -1301,8 +1301,7 @@ term_reset(struct terminal *term, bool hard)
|
|||
term->charsets.set[3] = CHARSET_ASCII;
|
||||
term->saved_charsets = term->charsets;
|
||||
tll_free_and_free(term->window_title_stack, free);
|
||||
free(term->window_title);
|
||||
term->window_title = strdup("foot");
|
||||
term_set_window_title(term, term->conf->title);
|
||||
|
||||
term->scroll_region.start = 0;
|
||||
term->scroll_region.end = term->rows;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue