Changeset 1334 for code/branches/console/src/core/Shell.cc
- Timestamp:
- May 20, 2008, 1:48:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/Shell.cc
r1327 r1334 48 48 this->historyOffset_ = 0; 49 49 this->finishedLastLine_ = true; 50 this->bAddOutputLevel_ = false; 50 51 51 52 this->clearLines(); … … 131 132 } 132 133 133 void Shell::addLine(const std::string& line, unsignedint level)134 void Shell::addLine(const std::string& line, int level) 134 135 { 135 136 int original_level = OutputHandler::getOutStream().getOutputLevel(); … … 196 197 if (this->finishedLastLine_) 197 198 { 199 if (this->bAddOutputLevel_) 200 output.insert(0, 1, (char)OutputHandler::getOutStream().getOutputLevel()); 201 198 202 this->lines_.insert(this->lines_.begin(), output); 199 203 … … 239 243 void Shell::hintandcomplete() 240 244 { 241 this->addLine(CommandExecutor::hint(this->inputBuffer_.get()), 0);245 this->addLine(CommandExecutor::hint(this->inputBuffer_.get()), -1); 242 246 this->inputBuffer_.set(CommandExecutor::complete(this->inputBuffer_.get())); 243 247
Note: See TracChangeset
for help on using the changeset viewer.