Skip to content

Commit

Permalink
Reset the title when blank.
Browse files Browse the repository at this point in the history
  • Loading branch information
j4james committed Aug 26, 2024
1 parent f93347e commit 274cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalCore/TerminalApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void Terminal::SetWindowTitle(const std::wstring_view title)
_assertLocked();
if (!_suppressApplicationTitle)
{
_title.emplace(title);
_title.emplace(title.empty() ? _startingTitle : title);
_pfnTitleChanged(_title.value());
}
}
Expand Down

0 comments on commit 274cc63

Please sign in to comment.