source: trunk/FACT++/src/LocalControl.cc@ 10842

Last change on this file since 10842 was 10429, checked in by tbretz, 14 years ago
Moved the tools function into their own namespace to get rid of problems whenlinking with root.
File size: 344 bytes
Line 
1#include "LocalControl.h"
2
3string LocalConsole::GetUpdatePrompt() const
4{
5 return GetLinePrompt()+" "
6 "\033[34m\033[1m"+fName+"\033[0m:"
7 "\033[32m\033[1m"+fStateMachine->GetStateName()+"\033[0m> ";
8}
9
10string LocalShell::GetUpdatePrompt() const
11{
12 return GetLinePrompt()+' '+fName+':'+fStateMachine->GetStateName()+"> ";
13}
Note: See TracBrowser for help on using the repository browser.