comparison src/testing.c @ 20836:2616c5a337e0 v8.2.0970

patch 8.2.0970: terminal properties are not available in Vim script Commit: https://github.com/vim/vim/commit/0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 13 15:47:25 2020 +0200 patch 8.2.0970: terminal properties are not available in Vim script Problem: Terminal properties are not available in Vim script. Solution: Add the terminalprops() function.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jun 2020 16:00:04 +0200
parents 9a624c1672a3
children 1725bb56178a
comparison
equal deleted inserted replaced
20835:097884058719 20836:2616c5a337e0
852 nfa_fail_for_testing = val; 852 nfa_fail_for_testing = val;
853 else if (STRCMP(name, (char_u *)"no_query_mouse") == 0) 853 else if (STRCMP(name, (char_u *)"no_query_mouse") == 0)
854 no_query_mouse_for_testing = val; 854 no_query_mouse_for_testing = val;
855 else if (STRCMP(name, (char_u *)"no_wait_return") == 0) 855 else if (STRCMP(name, (char_u *)"no_wait_return") == 0)
856 no_wait_return = val; 856 no_wait_return = val;
857 else if (STRCMP(name, (char_u *)"term_props") == 0)
858 reset_term_props_on_termresponse = val;
857 else if (STRCMP(name, (char_u *)"ALL") == 0) 859 else if (STRCMP(name, (char_u *)"ALL") == 0)
858 { 860 {
859 disable_char_avail_for_testing = FALSE; 861 disable_char_avail_for_testing = FALSE;
860 disable_redraw_for_testing = FALSE; 862 disable_redraw_for_testing = FALSE;
861 ignore_redraw_flag_for_testing = FALSE; 863 ignore_redraw_flag_for_testing = FALSE;
862 nfa_fail_for_testing = FALSE; 864 nfa_fail_for_testing = FALSE;
863 no_query_mouse_for_testing = FALSE; 865 no_query_mouse_for_testing = FALSE;
866 reset_term_props_on_termresponse = FALSE;
864 if (save_starting >= 0) 867 if (save_starting >= 0)
865 { 868 {
866 starting = save_starting; 869 starting = save_starting;
867 save_starting = -1; 870 save_starting = -1;
868 } 871 }