comparison src/option.c @ 20603:c2570baa2e4c v8.2.0855

patch 8.2.0855: GUI tests fail because the test doesn't use a modifier Commit: https://github.com/vim/vim/commit/ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 21:52:54 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 22:00:04 +0200
parents 246101db63a4
children ed00f0fbdaef
comparison
equal deleted inserted replaced
20602:67dccb63d65c 20603:c2570baa2e4c
4328 key = TERMCAP2KEY(arg[2], arg[3]); 4328 key = TERMCAP2KEY(arg[2], arg[3]);
4329 else if (has_lt) 4329 else if (has_lt)
4330 { 4330 {
4331 --arg; // put arg at the '<' 4331 --arg; // put arg at the '<'
4332 modifiers = 0; 4332 modifiers = 0;
4333 key = find_special_key(&arg, &modifiers, TRUE, TRUE, FALSE, TRUE, NULL); 4333 key = find_special_key(&arg, &modifiers,
4334 FSK_KEYCODE | FSK_KEEP_X_KEY | FSK_SIMPLIFY, NULL);
4334 if (modifiers) // can't handle modifiers here 4335 if (modifiers) // can't handle modifiers here
4335 key = 0; 4336 key = 0;
4336 } 4337 }
4337 return key; 4338 return key;
4338 } 4339 }