summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-06-18 11:07:18 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-06-18 11:07:18 +0100
commitf2ba54b2d476deedb9494109340013abf3f1024a (patch)
treefdcd7215fccdbadd0b6c3b2c7e9da8ea16c0631b /src/input_handler.cc
parent34c8e6a9cf15410a433c8a8c3901703708b85611 (diff)
Keep prompt displayed on <c-r> and <c-v> in prompt mode
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 15b01a05..dacb29a2 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -702,6 +702,7 @@ public:
m_callback(m_line_editor.line(), PromptEvent::Change, context());
}
}, "Enter register name", register_doc);
+ display();
return;
}
else if (key == ctrl('v'))
@@ -715,6 +716,8 @@ public:
m_callback(m_line_editor.line(), PromptEvent::Change, context());
}
}, "raw insert", "enter key to insert");
+ display();
+ return;
}
else if (key == Key::Up or key == ctrl('p'))
{