view src/libvterm/t/92lp1640917.test @ 18410:b5b2e3b824c2 v8.1.2199

patch 8.1.2199: build failure when using normal features without GUI Commit: https://github.com/vim/vim/commit/a720be78d7978b3b853ff6c8af0d1721d6225378 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 22 21:45:19 2019 +0200 patch 8.1.2199: build failure when using normal features without GUI Problem: Build failure when using normal features without GUI and EXITFREE defined. Solution: Add #ifdef. (Dominique Pelle, closes #5106)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Oct 2019 22:00:04 +0200
parents b8299e742f41
children
line wrap: on
line source

INIT
WANTSTATE 

!Mouse reporting should not break by idempotent DECSM 1002
PUSH "\e[?1002h"
MOUSEMOVE 0,0 0
MOUSEBTN d 1 0
  output "\e[M\x20\x21\x21"
MOUSEMOVE 1,0 0
  output "\e[M\x40\x21\x22"
PUSH "\e[?1002h"
MOUSEMOVE 2,0 0
  output "\e[M\x40\x21\x23"