Mercurial > vim
comparison src/evalfunc.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 | 90b96fa35e4b |
children | 69055d27e85e |
comparison
equal
deleted
inserted
replaced
20835:097884058719 | 20836:2616c5a337e0 |
---|---|
942 {"term_setkill", 2, 2, FEARG_1, ret_void, TERM_FUNC(f_term_setkill)}, | 942 {"term_setkill", 2, 2, FEARG_1, ret_void, TERM_FUNC(f_term_setkill)}, |
943 {"term_setrestore", 2, 2, FEARG_1, ret_void, TERM_FUNC(f_term_setrestore)}, | 943 {"term_setrestore", 2, 2, FEARG_1, ret_void, TERM_FUNC(f_term_setrestore)}, |
944 {"term_setsize", 3, 3, FEARG_1, ret_void, TERM_FUNC(f_term_setsize)}, | 944 {"term_setsize", 3, 3, FEARG_1, ret_void, TERM_FUNC(f_term_setsize)}, |
945 {"term_start", 1, 2, FEARG_1, ret_number, TERM_FUNC(f_term_start)}, | 945 {"term_start", 1, 2, FEARG_1, ret_number, TERM_FUNC(f_term_start)}, |
946 {"term_wait", 1, 2, FEARG_1, ret_void, TERM_FUNC(f_term_wait)}, | 946 {"term_wait", 1, 2, FEARG_1, ret_void, TERM_FUNC(f_term_wait)}, |
947 {"terminalprops", 0, 0, 0, ret_dict_string, f_terminalprops}, | |
947 {"test_alloc_fail", 3, 3, FEARG_1, ret_void, f_test_alloc_fail}, | 948 {"test_alloc_fail", 3, 3, FEARG_1, ret_void, f_test_alloc_fail}, |
948 {"test_autochdir", 0, 0, 0, ret_void, f_test_autochdir}, | 949 {"test_autochdir", 0, 0, 0, ret_void, f_test_autochdir}, |
949 {"test_feedinput", 1, 1, FEARG_1, ret_void, f_test_feedinput}, | 950 {"test_feedinput", 1, 1, FEARG_1, ret_void, f_test_feedinput}, |
950 {"test_garbagecollect_now", 0, 0, 0, ret_void, f_test_garbagecollect_now}, | 951 {"test_garbagecollect_now", 0, 0, 0, ret_void, f_test_garbagecollect_now}, |
951 {"test_garbagecollect_soon", 0, 0, 0, ret_void, f_test_garbagecollect_soon}, | 952 {"test_garbagecollect_soon", 0, 0, 0, ret_void, f_test_garbagecollect_soon}, |