From ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 May 2020 21:52:54 +0200 Subject: patch 8.2.0855: GUI tests fail because the test doesn't use a modifier Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier. --- src/option.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/option.c') diff --git a/src/option.c b/src/option.c index 8574f7f7cb..45a62310a3 100644 --- a/src/option.c +++ b/src/option.c @@ -4330,7 +4330,8 @@ find_key_option(char_u *arg_arg, int has_lt) { --arg; // put arg at the '<' modifiers = 0; - key = find_special_key(&arg, &modifiers, TRUE, TRUE, FALSE, TRUE, NULL); + key = find_special_key(&arg, &modifiers, + FSK_KEYCODE | FSK_KEEP_X_KEY | FSK_SIMPLIFY, NULL); if (modifiers) // can't handle modifiers here key = 0; } -- cgit v1.2.3