mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:03:41 +08:00
input.cpp: remove unused describe_char()
This commit is contained in:
parent
9c1b3d6712
commit
99cfca8498
|
@ -173,13 +173,6 @@ static_assert(sizeof(input_function_metadata) / sizeof(input_function_metadata[0
|
|||
"input_function_metadata size mismatch with input_common. Did you forget to update "
|
||||
"input_function_metadata?");
|
||||
|
||||
wcstring describe_char(wint_t c) {
|
||||
if (c < R_END_INPUT_FUNCTIONS) {
|
||||
return format_string(L"%02x (%ls)", c, input_function_metadata[c].name);
|
||||
}
|
||||
return format_string(L"%02x", c);
|
||||
}
|
||||
|
||||
using mapping_list_t = std::vector<input_mapping_t>;
|
||||
input_mapping_set_t::input_mapping_set_t() = default;
|
||||
input_mapping_set_t::~input_mapping_set_t() = default;
|
||||
|
@ -697,7 +690,7 @@ void inputter_t::mapping_execute_matching_or_generic(const command_handler_t &co
|
|||
}
|
||||
|
||||
FLOGF(reader, L"no generic found, ignoring char...");
|
||||
auto evt = peeker.next();
|
||||
peeker.next();
|
||||
peeker.consume();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user