view ci/if_ver-cmd.vim @ 26392:201243ceaa18 v8.2.3727

patch 8.2.3727: in a gnome terminal keys are recognized as mouse events Commit: https://github.com/vim/vim/commit/c14b57c0795671bafca14433bc376acfe6135a3a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 3 13:20:29 2021 +0000 patch 8.2.3727: in a gnome terminal keys are recognized as mouse events Problem: In a gnome terminal keys are recognized as mouse events. Solution: Only recognize DEC mouse events when four numbers are following. (closes #9256)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Dec 2021 14:30: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>)