Allow unset completer function in Prompt input mode
This commit is contained in:
parent
9ff356cb2b
commit
7097fcf640
|
@ -540,6 +540,8 @@ private:
|
|||
{
|
||||
try
|
||||
{
|
||||
if (not m_completer)
|
||||
return;
|
||||
const String& line = m_line_editor.line();
|
||||
m_completions = m_completer(context(), flags, line,
|
||||
line.byte_count_to(m_line_editor.cursor_pos()));
|
||||
|
|
Loading…
Reference in New Issue
Block a user