neovim/test/functional
Justin M. Keyes 317d5ca7b0 input: Do not set high-bit; preserve ALT modifier.
Background: Vim internally prefers to represent ALT/META chords as
single-byte keys, by setting the high bit of the key byte.
extract_modifiers() _discards_ the meta/alt modifier, but we need it for
libvterm and libtermkey.

Closes #2440
Closes #3727
Closes #2017
References #2277
References #2254

https://github.com/neovim/neovim/issues/2017#issuecomment-140423557
> We [not libtermkey] are setting the high bit for some reason

https://github.com/neovim/neovim/issues/176#issuecomment-77834715
> libvtermkey requires the leading esc to parse alt/meta

https://github.com/neovim/neovim/pull/3246#issuecomment-136328450
> A program could do better than the current logic on some terminals, by
> asking for pure 8bit mode (S8C1T) and then immediately querying the
> mode again. If the result comes back as an 8bit single-byte CSI, then
> it can presume the mode setting was successful, and now the ESC prefix
> byte won't be seen in multibyte sequences; only as an Alt- prefix or
> a real Escape key. On such a terminal, it could therefore avoid
> needing to use that waiting timeout.
2016-01-11 00:29:58 -05:00
..
api test/functional: Fix api/vim_spec.lua. 2015-12-31 23:28:55 -05:00
autocmd test/functional: clean up according to luacheck (part 2) 2015-11-23 13:57:21 +01:00
clipboard test/functional: clean up according to luacheck (part 2) 2015-11-23 13:57:21 +01:00
eval eval: Do not use msgpack#string for error messages 2016-01-07 00:54:58 +03:00
ex_cmds encoding: update tests 2016-01-02 23:22:13 +01:00
ex_getln functests: Refactor tests: 2015-10-08 22:01:12 +03:00
fixtures clipboard: support clipboard=unnamedplus,unnamed 2015-08-07 13:06:13 +02:00
job test/functional: clean up according to luacheck (part 2) 2015-11-23 13:57:21 +01:00
legacy portability: use portable format specifier 2016-01-10 01:34:49 -05:00
normal test/functional: clean up according to luacheck (part 1) 2015-11-23 13:57:21 +01:00
plugin eval: Do not use msgpack#string for error messages 2016-01-07 00:54:58 +03:00
provider test/functional: clean up according to luacheck (part 1) 2015-11-23 13:57:21 +01:00
server test/functional: Fix api/vim_spec.lua. 2015-12-31 23:28:55 -05:00
shada functests: Update tests 2016-01-07 00:54:57 +03:00
shell test/functional: clean up according to luacheck (part 1) 2015-11-23 13:57:21 +01:00
terminal input: Do not set high-bit; preserve ALT modifier. 2016-01-11 00:29:58 -05:00
ui test: change CI_TARGET reference to CI 2016-01-01 23:58:42 -05:00
viml test/functional: clean up according to luacheck (part 1) 2015-11-23 13:57:21 +01:00
dict_notifications_spec.lua eval: Implement dictionary change notifications 2015-11-09 09:43:30 -03:00
helpers.lua tests: Make helper.source() return tempname. 2016-01-10 10:44:57 +09:00
preload.lua tests: prevent busted from reloading the ffi module and others 2015-03-01 15:25:39 -05:00