Keep prompt displayed on <c-r> and <c-v> in prompt mode
This commit is contained in:
parent
34c8e6a9cf
commit
f2ba54b2d4
|
@ -702,6 +702,7 @@ public:
|
||||||
m_callback(m_line_editor.line(), PromptEvent::Change, context());
|
m_callback(m_line_editor.line(), PromptEvent::Change, context());
|
||||||
}
|
}
|
||||||
}, "Enter register name", register_doc);
|
}, "Enter register name", register_doc);
|
||||||
|
display();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (key == ctrl('v'))
|
else if (key == ctrl('v'))
|
||||||
|
@ -715,6 +716,8 @@ public:
|
||||||
m_callback(m_line_editor.line(), PromptEvent::Change, context());
|
m_callback(m_line_editor.line(), PromptEvent::Change, context());
|
||||||
}
|
}
|
||||||
}, "raw insert", "enter key to insert");
|
}, "raw insert", "enter key to insert");
|
||||||
|
display();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else if (key == Key::Up or key == ctrl('p'))
|
else if (key == Key::Up or key == ctrl('p'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user