macOS: Add an setting to have the option key not behave as alt

This commit is contained in:
Kovid Goyal
2017-11-08 09:14:19 +05:30
parent 1f9acf99b0
commit 505ae90fd7
6 changed files with 19 additions and 3 deletions
+1
View File
@@ -162,6 +162,7 @@ PYWRAP1(set_options) {
S(url_color, color_as_int);
S(repaint_delay, repaint_delay);
S(input_delay, repaint_delay);
S(macos_option_as_alt, PyObject_IsTrue);
PyObject *chars = PyObject_GetAttrString(args, "select_by_word_characters");
if (chars == NULL) return NULL;