Ignore:
Timestamp:
06/07/11 22:17:12 (13 years ago)
Author:
tbretz
Message:
Added a wait command.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Console.cc

    r10860 r10922  
    8989        return true;
    9090
     91    if (str.substr(0, 3)==".w ")
     92    {
     93        fLogO.Display(true);
     94        fLogO.SetBacklog(false);
     95        fLogO.SetNullOutput(false);
     96        usleep(atoi(str.c_str()+3)*1000);
     97        fLogO.SetNullOutput(true);
     98        fLogO.SetBacklog(true);
     99        return true;
     100    }
     101
    91102    if (Readline::Process(str))
    92103        return true;
Note: See TracChangeset for help on using the changeset viewer.