view ci/if_ver-cmd.vim @ 27748:49b667252942 v8.2.4400

patch 8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLL Commit: https://github.com/vim/vim/commit/646bb7247ad6051aca223a2b04b008f682cdb57f Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Feb 16 17:51:47 2022 +0000 patch 8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLL Problem: MS-Windows: cannot use the mouse in the console with VIMDLL. Solution: use add_char2buf() instead of fix_input_buffer(). (closes https://github.com/vim/vim/issues/9784, closes #9769)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 19:00:04 +0100
parents 27ff44268da5
children
line wrap: on
line source

" Provide 'PrintVer' command to print the interface versions.

func s:print_ver(lang, ...)
  if has(a:lang)
    exec a:lang join(a:000)
  else
    echo 'N/A'
  endif
  echo ''
endfunc

command -nargs=+ PrintVer call <SID>print_ver(<f-args>)