Skip to content

Commit

Permalink
Far working directory was not reloaded for %f macro (tab template).
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus5 committed May 5, 2018
1 parent c73c7fe commit 3a8e164
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ConEmu/RealConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3312,7 +3312,8 @@ DWORD CRealConsole::MonitorThreadWorker(bool bDetached, bool& rbChildProcessCrea
{
// Tab templates are case insensitive yet
LPCWSTR pszTabTempl = gpSet->szTabPanels;
if ((wcsstr(pszTabTempl, L"%d") || wcsstr(pszTabTempl, L"%D"))
if ((wcsstr(pszTabTempl, L"%d") || wcsstr(pszTabTempl, L"%D")
|| wcsstr(pszTabTempl, L"%f") || wcsstr(pszTabTempl, L"%F"))
&& ReloadFarWorkDir())
{
mp_ConEmu->mp_TabBar->Update();
Expand Down

0 comments on commit 3a8e164

Please sign in to comment.