mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-14 02:44:35 +03:00
Merge remote-tracking branch 'markus-oberhumer/ux-improve-prompt'
This commit is contained in:
commit
2288be3257
@ -807,7 +807,8 @@ public:
|
||||
m_callback(line, PromptEvent::Validate, context());
|
||||
return;
|
||||
}
|
||||
else if (key == Key::Escape or key == ctrl('c'))
|
||||
else if (key == Key::Escape or key == ctrl('c') or
|
||||
((key == Key::Backspace or key == ctrl('h')) and line.empty()))
|
||||
{
|
||||
history_push(line);
|
||||
context().print_status(DisplayLine{});
|
||||
|
Loading…
Reference in New Issue
Block a user