Changeset 2274 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Nov 17, 2002, 5:30:44 PM (23 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r2265 r2274 406 406 mulinecmd = ""; 407 407 mulinefg = false; 408 spromptmul = "Cmd> "; 409 if (mImgApp) mImgApp->GetConsole()->SetPrompt(spromptmul); 408 410 curscript = NULL; 409 411 … … 652 654 mulinefg = true; 653 655 mulinecmd += s.substr(0,lnb); 656 spromptmul = mImgApp->GetConsole()->GetPrompt(); 654 657 mImgApp->GetConsole()->SetPrompt("...? "); 655 658 return(0); … … 660 663 mulinecmd = ""; 661 664 mulinefg = false; 662 const char * rprompt = (CmdBlks.empty()) ? "Cmd> " : "for...? "; 663 mImgApp->GetConsole()->SetPrompt(rprompt); 665 mImgApp->GetConsole()->SetPrompt(spromptmul); 664 666 } 665 667 -
trunk/SophyaPI/PIext/piacmd.h
r2263 r2274 167 167 bool mulinefg; // Bloc multi-lignes (ligne suite) 168 168 string mulinecmd; // Commande multi-lignes 169 string spromptmul; // Prompt console avant multi-ligne 169 170 170 171 ofstream hist; // History file
Note:
See TracChangeset
for help on using the changeset viewer.