Changeset 2274 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Nov 17, 2002, 5:30:44 PM (23 years ago)
Author:
ansari
Message:

Correction changement prompt du console piapp - Reza 17/11/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piacmd.cc

    r2265 r2274  
    406406mulinecmd = "";
    407407mulinefg = false;
     408spromptmul = "Cmd> ";
     409if (mImgApp) mImgApp->GetConsole()->SetPrompt(spromptmul);
    408410curscript = NULL;
    409411
     
    652654  mulinefg = true;
    653655  mulinecmd += s.substr(0,lnb);
     656  spromptmul = mImgApp->GetConsole()->GetPrompt();
    654657  mImgApp->GetConsole()->SetPrompt("...? ");
    655658  return(0);
     
    660663  mulinecmd = "";
    661664  mulinefg = false;
    662   const char * rprompt = (CmdBlks.empty()) ? "Cmd> " : "for...? ";
    663   mImgApp->GetConsole()->SetPrompt(rprompt);
     665  mImgApp->GetConsole()->SetPrompt(spromptmul);
    664666}
    665667
Note: See TracChangeset for help on using the changeset viewer.