Skip to content

Commit

Permalink
Fix suppressApplicationTitle PR #3837 (#3859)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnamon-msft authored Dec 6, 2019
1 parent c0111a7 commit 2354965
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/cascadia/TerminalCore/Terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,15 @@ void Terminal::CreateFromSettings(winrt::Microsoft::Terminal::Settings::ICoreSet
const COORD viewportSize{ Utils::ClampToShortMax(settings.InitialCols(), 1),
Utils::ClampToShortMax(settings.InitialRows(), 1) };

if (_suppressApplicationTitle)
{
_title = _startingTitle;
}
// TODO:MSFT:20642297 - Support infinite scrollback here, if HistorySize is -1
Create(viewportSize, Utils::ClampToShortMax(settings.HistorySize(), 0), renderTarget);

UpdateSettings(settings);

if (_suppressApplicationTitle)
{
_title = _startingTitle;
}
}

// Method Description:
Expand Down

0 comments on commit 2354965

Please sign in to comment.