Mercurial > vim
comparison src/libvterm/t/20state_wrapping.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 UTF8 1 | |
3 WANTSTATE gm | |
4 | |
5 !79th Column | |
6 PUSH "\e[75G" | |
7 PUSH "A"x5 | |
8 putglyph 0x41 1 0,74 | |
9 putglyph 0x41 1 0,75 | |
10 putglyph 0x41 1 0,76 | |
11 putglyph 0x41 1 0,77 | |
12 putglyph 0x41 1 0,78 | |
13 ?cursor = 0,79 | |
14 | |
15 !80th Column Phantom | |
16 PUSH "A" | |
17 putglyph 0x41 1 0,79 | |
18 ?cursor = 0,79 | |
19 | |
20 !Line Wraparound | |
21 PUSH "B" | |
22 putglyph 0x42 1 1,0 | |
23 ?cursor = 1,1 | |
24 | |
25 !Line Wraparound during combined write | |
26 PUSH "\e[78G" | |
27 PUSH "BBBCC" | |
28 putglyph 0x42 1 1,77 | |
29 putglyph 0x42 1 1,78 | |
30 putglyph 0x42 1 1,79 | |
31 putglyph 0x43 1 2,0 | |
32 putglyph 0x43 1 2,1 | |
33 ?cursor = 2,2 | |
34 | |
35 !DEC Auto Wrap Mode | |
36 RESET | |
37 PUSH "\e[?7l" | |
38 PUSH "\e[75G" | |
39 PUSH "D"x6 | |
40 putglyph 0x44 1 0,74 | |
41 putglyph 0x44 1 0,75 | |
42 putglyph 0x44 1 0,76 | |
43 putglyph 0x44 1 0,77 | |
44 putglyph 0x44 1 0,78 | |
45 putglyph 0x44 1 0,79 | |
46 ?cursor = 0,79 | |
47 PUSH "D" | |
48 putglyph 0x44 1 0,79 | |
49 ?cursor = 0,79 | |
50 PUSH "\e[?7h" | |
51 | |
52 !80th column causes linefeed on wraparound | |
53 PUSH "\e[25;78HABC" | |
54 putglyph 0x41 1 24,77 | |
55 putglyph 0x42 1 24,78 | |
56 putglyph 0x43 1 24,79 | |
57 ?cursor = 24,79 | |
58 PUSH "D" | |
59 moverect 1..25,0..80 -> 0..24,0..80 | |
60 putglyph 0x44 1 24,0 | |
61 | |
62 !80th column phantom linefeed phantom cancelled by explicit cursor move | |
63 PUSH "\e[25;78HABC" | |
64 putglyph 0x41 1 24,77 | |
65 putglyph 0x42 1 24,78 | |
66 putglyph 0x43 1 24,79 | |
67 ?cursor = 24,79 | |
68 PUSH "\e[25;1HD" | |
69 putglyph 0x44 1 24,0 |