comparison src/libvterm/t/27state_reset.test @ 11621:b8299e742f41 v8.0.0693

patch 8.0.0693: no terminal emulator support commit https://github.com/vim/vim/commit/e4f25e4a8db2c8a8a71a4ba2a68540b3ab341e42 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 7 11:54:15 2017 +0200 patch 8.0.0693: no terminal emulator support Problem: No terminal emulator support. Cannot properly run commands in the GUI. Cannot run a job interactively with an ssh connection. Solution: Very early implementation of the :terminal command. Includes libvterm converted to ANSI C. Many parts still missing.
author Christian Brabandt <cb@256bit.org>
date Fri, 07 Jul 2017 12:00:04 +0200
parents
children
comparison
equal deleted inserted replaced
11620:fb788b3997c1 11621:b8299e742f41
1 INIT
2 WANTSTATE
3
4 RESET
5
6 !RIS homes cursor
7 PUSH "\e[5;5H"
8 ?cursor = 4,4
9 WANTSTATE +m
10 PUSH "\ec"
11 ?cursor = 0,0
12 WANTSTATE -m
13
14 !RIS cancels scrolling region
15 PUSH "\e[5;10r"
16 WANTSTATE +s
17 PUSH "\ec\e[25H\n"
18 scrollrect 0..25,0..80 => +1,+0
19 WANTSTATE -s
20
21 !RIS erases screen
22 PUSH "ABCDE"
23 WANTSTATE +e
24 PUSH "\ec"
25 erase 0..25,0..80
26 WANTSTATE -e
27
28 !RIS clears tabstops
29 PUSH "\e[5G\eH\e[G\t"
30 ?cursor = 0,4
31 PUSH "\ec\t"
32 ?cursor = 0,8