- Timestamp:
- May 29, 2011, 10:56:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/command/Shell.cc
r8524 r8669 34 34 #include "Shell.h" 35 35 36 #include "util/Math.h" 36 37 #include "util/OutputHandler.h" 37 38 #include "util/StringUtils.h" … … 41 42 #include "core/ConfigValueIncludes.h" 42 43 #include "core/PathConfig.h" 44 #include "core/input/InputBuffer.h" 43 45 #include "CommandExecutor.h" 44 46 #include "ConsoleCommand.h" … … 237 239 } 238 240 241 /// Returns the current position of the cursor in the input buffer. 242 unsigned int Shell::getCursorPosition() const 243 { 244 return this->inputBuffer_->getCursorPosition(); 245 } 246 247 /// Returns the current content of the input buffer (the text which was entered by the user) 248 const std::string& Shell::getInput() const 249 { 250 return this->inputBuffer_->get(); 251 } 252 239 253 /** 240 254 @brief Sends output to the internal output buffer.
Note: See TracChangeset
for help on using the changeset viewer.