unsigned currentColumn() const; ///< Return number of current column
unsigned currentLine() const; ///< Return number of current relative line
- unsigned width(); ///< Return current screen width
- unsigned height(); ///< Return current screen height
+ unsigned width() const; ///< Return current screen width
+ unsigned height() const; ///< Return current screen height
protected:
virtual bool cb_init(); ///< Called when terminal is initialized
///\name History
///\{
- void pushHistory(std::string const & text); ///< Add string \a text to history
+ void pushHistory(std::string const & text, bool accept = false);
+ ///< Add string \a text to history
void prevHistory(); ///< Switch to previous history entry
void nextHistory(); ///< Switch to next history entry
///\name Aux Display
///\{
- void auxDisplay(int line, std::string const & text);
+ void auxDisplay(unsigned line, std::string const & text);
///< Display \a text on aux display line \a lilne
unsigned maxAuxDisplayHeight(); ///< Get maximum height of the aux display area
void clearAuxDisplay(); ///< Clear the aux display area