pub fn replace_custom_str_oscode_mapping(mapping: &FxHashMap<String, OsCode>)Expand description
Replaces the stateful custom String to OsCode mapping in this module with the input
mapping.
This will change how str_to_oscode behaves. One could imagine that a new struct could be
created and str_to_oscode would become a method on that struct instead of a standalone
function. I’m too lazy to do that right now and based on how keys is used right now, it
should not be a problem. A potential immediate issue that comes to mind is concurrent tests
that have defcustomkeys.