Commit 027bd907 authored by David Fuhrmann's avatar David Fuhrmann

macosx: simple prefs: fix assignment and visualization for space and esc key

parent f95c2c87
......@@ -1450,6 +1450,10 @@ static inline void save_module_list(intf_thread_t * p_intf, id object, const cha
[tempString appendString:@"Delete"];
else if (key == NSBackspaceCharacter)
[tempString appendString:@"Backspace"];
else if (key == 0x001B)
[tempString appendString:@"Esc"];
else if (key == ' ')
[tempString appendString:@"Space"];
else if (![[[o_theEvent charactersIgnoringModifiers] lowercaseString] isEqualToString:@""]) //plain characters
[tempString appendString:[[o_theEvent charactersIgnoringModifiers] lowercaseString]];
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment