|
Last change
on this file since 10766 was 10429, checked in by tbretz, 15 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 |
|
|---|
| 3 | string 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 |
|
|---|
| 10 | string LocalShell::GetUpdatePrompt() const
|
|---|
| 11 | {
|
|---|
| 12 | return GetLinePrompt()+' '+fName+':'+fStateMachine->GetStateName()+"> ";
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.