You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache key strings calculated during help_open() so that help_draw() does not need to recalculate them
1. help.c
a. struct help
Add a key field to cache key strings calculated during help_open() so that help_draw() does not need to recalculate.
b. help_keys_visitor()
Cache the available key string in help.key.
c. help_draw(), help_grep()
Use cached help.key string instead of recalculating the key string.
d. help_open()
Free any key strings that have been cached in the help struct to prevent memory leak during a refresh of help screen.
0 commit comments