X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTermlib%2FEditor.hh;h=bacfeff1bdd54aeb3e8609ac4b1ab028abf029a5;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=a2221b821f66d11a03201a36d7e14cafcf8f3edc;hpb=7ff3c55db7420433cea0bd7f0fe6c82583f78d4f;p=senf.git diff --git a/Utils/Termlib/Editor.hh b/Utils/Termlib/Editor.hh index a2221b8..bacfeff 100644 --- a/Utils/Termlib/Editor.hh +++ b/Utils/Termlib/Editor.hh @@ -256,7 +256,8 @@ namespace term { ///\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 @@ -265,7 +266,7 @@ namespace term { ///\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