reader: Add delete-or-exit bind function

This is an important binding and should therefore be in C++.
This commit is contained in:
Fabian Homborg
2019-06-05 19:02:32 +02:00
parent c392a05db0
commit d415350aaf
3 changed files with 14 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ static const input_function_metadata_t input_function_metadata[] = {
{readline_cmd_t::reverse_repeat_jump, L"repeat-jump-reverse"},
{readline_cmd_t::func_and, L"and"},
{readline_cmd_t::expand_abbr, L"expand-abbr"},
{readline_cmd_t::delete_or_exit, L"delete-or-exit"},
{readline_cmd_t::cancel, L"cancel"}};
static_assert(sizeof(input_function_metadata) / sizeof(input_function_metadata[0]) ==