mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 07:37:31 +08:00
add comment regarding importance of unused describe_char function
This commit is contained in:
parent
0037e6e98d
commit
44cf0e5043
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user