X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTermlib%2FEditor.hh;h=bacfeff1bdd54aeb3e8609ac4b1ab028abf029a5;hb=61895b04f84c4c5ce8974d187bbc739c70fdf898;hp=ead9a06e317674a947a788d2d52788ea2053daf0;hpb=9f4bca1d10573498ab6ec090060f6e1ad8cbde84;p=senf.git diff --git a/Utils/Termlib/Editor.hh b/Utils/Termlib/Editor.hh index ead9a06..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