input.cpp: remove unused describe_char()

This commit is contained in:
Aaron Gyes 2022-04-08 16:55:20 -07:00
parent 9c1b3d6712
commit 99cfca8498

View File

@ -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 size mismatch with input_common. Did you forget to update "
"input_function_metadata?"); "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>; 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;
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..."); FLOGF(reader, L"no generic found, ignoring char...");
auto evt = peeker.next(); peeker.next();
peeker.consume(); peeker.consume();
} }