Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 2, 2006, 6:24:44 PM (19 years ago)
Author:
bensch
Message:

orxonox/new_class_id: moving through the Text with a cursor works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/shell/shell_input.h

    r9715 r9865  
    3737
    3838    /** @returns the inputLine */
    39     const std::string& getInput() const { return this->inputLine; };
     39    std::string getInput() const { return this->inputLineBegin + this->inputLineEnd; };
    4040
    4141    // InputLine
     
    5555    void historyMoveDown();
    5656
     57    void moveCursor(int chars);
     58
    5759    void help(const std::string& className = "", const std::string& function = "");
    5860
     
    6466    ShellCompletion                   completion;       //!< The Completion Interface.
    6567
    66     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
    6771    float                             repeatRate;       //!< The Repeat-Delay.
    6872    float                             repeatDelay;      //!< The delay of the first Character of a given Character.
Note: See TracChangeset for help on using the changeset viewer.