• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neovim / neovim / 25687
77%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2018 12:48AM UTC
Jobs 1
Files 708
Run time 28s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
25687

push

travis-ci

justinmk
tui: libtermkey: force CSI driver for mouse input #7948

Fixes #7932

Nvim (tui.c) always enables SGR mouse (TUIData.unibi_ext.enable_mouse).
But if libtermkey sees key_mouse (kmous) in terminfo its terminfo driver
(driver-ti.c) will be activated, which by accident only supports X10
protocol. The libtermkey CSI driver (driver-csi.c), in contrast,
supports SGR.

We can force libtermkey to ignore the terminfo key_mouse entry by
returning NULL in the tui_tk_ti_getstr hook. That forces the CSI driver.

What is the effect of returning NULL from `tui_tk_ti_getstr()`?
- libtermkey `driver-ti.c:load_terminfo()` skips the entry.
- `termkey.c:peekkey()` iterates through all drivers, it finds
  `TERMKEY_RES_NONE` for the ti driver and falls back to the CSI driver.

2 of 2 new or added lines in 1 file covered. (100.0%)

91245 of 115151 relevant lines covered (79.24%)

204232.49 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/nvim/message.c
1
100.0
src/nvim/misc1.c
34
100.0
src/nvim/undo.c
46
100.0
src/nvim/buffer.c
50
100.0
src/nvim/edit.c
90
100.0
src/nvim/move.c
98
100.0
src/nvim/fileio.c
187
100.0
src/nvim/normal.c
198
100.0
src/nvim/ops.c
324
100.0
src/nvim/search.c
684
100.0
src/nvim/eval.c
Jobs
ID Job ID Ran Files Coverage
7 25687.7 (GCOV=gcov CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON") 01 Feb 2018 12:48AM UTC 0
79.24
Travis Job 25687.7
Source Files on build 25687
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #25687
  • 3a5721e9 on github
  • Prev Build on master (#25645)
  • Next Build on master (#25692)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc