libvterm/t/16state_resize.test
raw| 1 | INIT |
| 2 | WANTSTATE g |
| 3 | |
| 4 | !Placement |
| 5 | RESET |
| 6 | PUSH "AB\e[79GCDE" |
| 7 | putglyph 0x41 1 0,0 |
| 8 | putglyph 0x42 1 0,1 |
| 9 | putglyph 0x43 1 0,78 |
| 10 | putglyph 0x44 1 0,79 |
| 11 | putglyph 0x45 1 1,0 |
| 12 | |
| 13 | !Resize |
| 14 | RESET |
| 15 | RESIZE 27,85 |
| 16 | PUSH "AB\e[79GCDE" |
| 17 | putglyph 0x41 1 0,0 |
| 18 | putglyph 0x42 1 0,1 |
| 19 | putglyph 0x43 1 0,78 |
| 20 | putglyph 0x44 1 0,79 |
| 21 | putglyph 0x45 1 0,80 |
| 22 | ?cursor = 0,81 |
| 23 | |
| 24 | !Resize without reset |
| 25 | RESIZE 28,90 |
| 26 | ?cursor = 0,81 |
| 27 | PUSH "FGHI" |
| 28 | putglyph 0x46 1 0,81 |
| 29 | putglyph 0x47 1 0,82 |
| 30 | putglyph 0x48 1 0,83 |
| 31 | putglyph 0x49 1 0,84 |
| 32 | ?cursor = 0,85 |
| 33 | |
| 34 | !Resize shrink moves cursor |
| 35 | RESIZE 25,80 |
| 36 | ?cursor = 0,79 |
| 37 | |
| 38 | !Resize grow doesn't cancel phantom |
| 39 | RESET |
| 40 | PUSH "\e[79GAB" |
| 41 | putglyph 0x41 1 0,78 |
| 42 | putglyph 0x42 1 0,79 |
| 43 | ?cursor = 0,79 |
| 44 | RESIZE 30,100 |
| 45 | ?cursor = 0,80 |
| 46 | PUSH "C" |
| 47 | putglyph 0x43 1 0,80 |
| 48 | ?cursor = 0,81 |