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