X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FLineEditor.hh;h=0360cd9c5d26fb7f721d3862c385e0db0f8e418f;hb=c5d0e492a701a054b1f3d56e128b2c4675b0d50b;hp=6fe3ea33bb1bbc432739c790cdee1ee7fce70f3a;hpb=7108fb56be5e093ca088b583712d08f9dafc0790;p=senf.git diff --git a/Utils/Console/LineEditor.hh b/Utils/Console/LineEditor.hh index 6fe3ea3..0360cd9 100644 --- a/Utils/Console/LineEditor.hh +++ b/Utils/Console/LineEditor.hh @@ -89,11 +89,12 @@ namespace detail { // Editor callbacks void executeLine(std::string const & text); void deleteCharOrExit(term::LineEditor & editor); - void completePath(term::LineEditor & editor, unsigned b, unsigned e, - std::vector & completions); + void completePath(term::LineEditor & editor, unsigned & b, unsigned & e, + std::string & prefix, std::vector & completions); term::LineEditor editor_; LineEditorSwitcher * switcher_; + std::string default_; }; }}}