As suggested by Humdinger, replace "%p" by "--", if the shell is the active
process. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39528 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d0405baf86
commit
2e394a4764
@ -47,7 +47,10 @@ TitlePlaceholderMapper::MapPlaceholder(char placeholder, int64 number,
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'p':
|
case 'p':
|
||||||
// process name
|
// process name -- use "--", if the shell is active
|
||||||
|
if (fProcessInfo.ID() == fProcessInfo.ShellProcessID())
|
||||||
|
_string = "--";
|
||||||
|
else
|
||||||
_string = fProcessInfo.Name();
|
_string = fProcessInfo.Name();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user