Changeset 10266 for trunk/FACT++
- Timestamp:
- 03/30/11 15:33:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.cc
r10183 r10266 5 5 string LocalConsole::GetUpdatePrompt() const 6 6 { 7 const string beg = GetLinePrompt();8 9 7 // Compile a string like "server:state> " 10 8 const string end = … … 14 12 // If we are continously flushing the buffer omit the buffer size 15 13 // If we are buffering show the buffer size 16 return "\n" + beg+ " " + end;14 return GetLinePrompt() + " " + end; 17 15 } 18 16 … … 24 22 //return boost::regex_replace(s, boost::regex("\033[[0-9]+m"), ""); 25 23 26 const string beg = GetLinePrompt();27 28 24 const string end = 29 25 Form("%s:%s> ", fName.c_str(), 30 26 fStateMachine->GetStateName().c_str()); 31 27 32 return beg+ " " + end;28 return GetLinePrompt() + " " + end; 33 29 }
Note:
See TracChangeset
for help on using the changeset viewer.