mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
add comment regarding importance of unused describe_char function
This commit is contained in:
@@ -174,6 +174,8 @@ 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?");
|
||||||
|
|
||||||
|
// Keep this function for debug purposes
|
||||||
|
// See 031b265
|
||||||
wcstring describe_char(wint_t c) {
|
wcstring describe_char(wint_t c) {
|
||||||
if (c < R_END_INPUT_FUNCTIONS) {
|
if (c < R_END_INPUT_FUNCTIONS) {
|
||||||
return format_string(L"%02x (%ls)", c, input_function_metadata[c].name);
|
return format_string(L"%02x (%ls)", c, input_function_metadata[c].name);
|
||||||
|
|||||||
Reference in New Issue
Block a user