Changeset 9869 in orxonox.OLD for trunk/src/lib/shell/shell_input.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_input.h
r7858 r9869 30 30 class ShellInput : public Text, public EventListener 31 31 { 32 ObjectListDeclaration(ShellInput); 32 33 33 34 public: … … 36 37 37 38 /** @returns the inputLine */ 38 const std::string& getInput() const { return this->inputLine; };39 std::string getInput() const { return this->inputLineBegin + this->inputLineEnd; }; 39 40 40 41 // InputLine … … 54 55 void historyMoveDown(); 55 56 57 void moveCursor(int chars); 58 56 59 void help(const std::string& className = "", const std::string& function = ""); 57 60 … … 63 66 ShellCompletion completion; //!< The Completion Interface. 64 67 65 std::string inputLine; //!< the Char-Array of the Buffer 68 std::string inputLineBegin; //!< The Line up to the cursor. 69 std::string inputLineEnd; //!< The Line from the cursor on 70 66 71 float repeatRate; //!< The Repeat-Delay. 67 72 float repeatDelay; //!< The delay of the first Character of a given Character.
Note: See TracChangeset
for help on using the changeset viewer.