diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-13 15:47:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-13 15:47:25 +0200 |
commit | 0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf (patch) | |
tree | e4c0912ac6fd6632c69c19fc062e64b4e1970076 /src/testing.c | |
parent | 4a021dfbeee88ac09d07e257912485314ecdcabe (diff) | |
download | vim-git-0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf.tar.gz |
patch 8.2.0970: terminal properties are not available in Vim scriptv8.2.0970
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
Diffstat (limited to 'src/testing.c')
-rw-r--r-- | src/testing.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing.c b/src/testing.c index c01ae3db7..83e3fe4e3 100644 --- a/src/testing.c +++ b/src/testing.c @@ -854,6 +854,8 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED) no_query_mouse_for_testing = val; else if (STRCMP(name, (char_u *)"no_wait_return") == 0) no_wait_return = val; + else if (STRCMP(name, (char_u *)"term_props") == 0) + reset_term_props_on_termresponse = val; else if (STRCMP(name, (char_u *)"ALL") == 0) { disable_char_avail_for_testing = FALSE; @@ -861,6 +863,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED) ignore_redraw_flag_for_testing = FALSE; nfa_fail_for_testing = FALSE; no_query_mouse_for_testing = FALSE; + reset_term_props_on_termresponse = FALSE; if (save_starting >= 0) { starting = save_starting; |