Boris Faure
9333ce2c4b
tests: add selection *to* word
2019-02-24 11:02:31 +01:00
Boris Faure
811929d672
tests/selection_to_position.sh: add "TO" within selection
2019-02-23 20:11:24 +01:00
Boris Faure
e0dde04dfc
tests: add tests on selection "TO" position (with shift)
2019-02-23 20:00:57 +01:00
Boris Faure
3193ad2e5a
tests: make it work on stricter shells
2019-02-23 18:31:30 +01:00
Boris Faure
eaaf63172d
tyfuzz: test terminal is only 24 lines
2019-02-23 17:52:42 +01:00
Boris Faure
b700a8a322
tests: have tests on selection in history
2019-02-23 17:52:04 +01:00
Boris Faure
2f0bff67d5
tests: not left-trimming
2019-02-23 17:42:39 +01:00
Boris Faure
ee06d7f135
tests: use correct escape code
2019-02-23 17:41:54 +01:00
Boris Faure
553e12e6a0
tests: ensure selection is removed in dragging test
2019-02-23 11:26:33 +01:00
Boris Faure
64d68eadf1
tests: add some tests on selection from/to invisible area
2019-02-23 11:22:35 +01:00
Boris Faure
b2e19bfdef
tests: do not keep corners on if click shall invalidate selection
2019-02-21 18:53:18 +01:00
Boris Faure
6c29e8f208
tests: add some where selections spans multiple lines
2019-02-21 18:40:05 +01:00
Boris Faure
50684da0cb
tests: use shorter sleeps to speed up test execution
2019-02-20 23:12:13 +01:00
Boris Faure
1218262ad0
tests: add some selecting words/paragraphs in backlog
2019-02-19 23:13:03 +01:00
Boris Faure
1a0b6f1b86
tests: add case where selection while text is scrolled in margins
2019-02-19 19:17:50 +01:00
Boris Faure
9247665ada
tests: add a test about selection keeping up while text is scrolling
2019-02-18 22:28:33 +01:00
Boris Faure
3b0a932d28
tests: add some on triple-click selections
2019-02-18 22:09:37 +01:00
Boris Faure
75e4825045
tests: add some on double click selection
2019-02-18 20:59:01 +01:00
Boris Faure
e3a2d70e6d
tests: add some on dragging boxed selection
2019-02-17 18:42:29 +01:00
Boris Faure
d5051ada14
tests: add some on dragging selections
2019-02-17 18:23:21 +01:00
Boris Faure
e7a5b3059c
tests: add some on box selections in all directions
2019-02-16 20:08:31 +01:00
Boris Faure
86a199ba8f
tests: add some selections in all directions
2019-02-16 18:12:41 +01:00
Boris Faure
0b63b6cb80
tests: add some on box selections (with ctrl)
2019-02-14 22:18:00 +01:00
Boris Faure
aa9e74d401
tests: fix selection_simple to force rendering
2019-02-10 23:55:43 +01:00
Boris Faure
851e68d157
add simple test on selections
2019-02-10 19:43:57 +01:00
Boris Faure
3d82c70793
tests: get rid of that useless UTF8CC code
...
@glima: this should fix your issue
2019-02-06 22:35:12 +01:00
Boris Faure
4eefb44ee1
termptyesc: handle DECSWBV + tests
2019-01-26 22:27:44 +01:00
Boris Faure
2ffbe38d43
termptyesc: support aliases for cursor Up/Left + tests
2019-01-20 20:09:32 +01:00
Boris Faure
a07299b2f4
tests: add some on HVP
2019-01-20 18:50:52 +01:00
Boris Faure
7dccab5481
termptyesc: export VPA handler to its own function + tests
2019-01-20 18:44:08 +01:00
Boris Faure
392c04bbe0
termptyesc: support Unset Tab Stop (only VTE so far) + tests
2019-01-20 12:06:19 +01:00
Boris Faure
96bbfd054b
termptyesc: export DA handler to its own function + tests
...
Also support DA3.
2019-01-19 23:50:31 +01:00
Boris Faure
3833252ad2
termptyesc: extract REP handler to its own function + tests
2019-01-19 23:02:51 +01:00
Boris Faure
a0738339dd
termptyesc: CHA and HPA are the same
2019-01-19 22:10:12 +01:00
Boris Faure
cd8e44e7bb
tests/colors: use \033 in printf instead of \x1b
...
shall be the same but on ubuntu it's not interpreted (but it is in xterm…)
Needs to be investigated
2019-01-16 18:49:55 +00:00
Boris Faure
c1d030da0a
termptyesc: extract CBT handler to its own function + tests
2019-01-13 00:08:52 +01:00
Boris Faure
de0fa36f15
tests.results: {decfi,su,sd}.sh rendering looks valid
2019-01-12 16:23:50 +01:00
Boris Faure
505772602e
termptyops: do not wrap to left margin when already past right margin
...
Fix ech.sh test that detected the issue
2019-01-12 16:14:14 +01:00
Boris Faure
89a6a9d652
termptyesc: extract ECH handler to its own function + test
...
Test is not fully working at the moment.
There seems to be an issue with appending text outside margins
2019-01-11 23:30:43 +01:00
Boris Faure
ff830fbc42
termptyesc: extract TBC to its own function + tests
2019-01-08 23:16:06 +01:00
Boris Faure
395404c243
termptyesc: handle CTC + tests
2019-01-08 22:55:48 +01:00
Boris Faure
a2656754bd
termptyesc: support DECST8C + tests
2019-01-07 23:13:52 +01:00
Boris Faure
ca9616bad8
termptyesc: extract SD/SU to their own functions
...
SD 0 is used for "track mouse" (TODO).
2019-01-06 23:01:52 +01:00
Boris Faure
5b16b455ff
termptyesc: DL moves the cursor to left margin + tests
...
also remove some debug leftover
2019-01-06 22:30:09 +01:00
Boris Faure
fa8ae6dc51
tests: add missing il.sh
2019-01-05 23:14:00 +01:00
Boris Faure
822f959163
termpty: handle IL with left/right margins + tests
2019-01-05 19:25:37 +01:00
Boris Faure
0ca634cd69
termptyesc: export EL handler to its own function + add tests
2019-01-02 23:32:38 +01:00
Boris Faure
06abd7e9bc
termptyesc: move ED handler to its own functions + add tests
2019-01-02 22:41:41 +01:00
Boris Faure
b76876e9c8
tests/cursor-movements.sh: test cursor up for real
2019-01-01 22:46:25 +01:00
Boris Faure
30f7d44947
tests: CUP: test going outside margins
2019-01-01 20:30:05 +01:00
Boris Faure
ce8fc25030
tests: oops, forgot to update tests.results
2019-01-01 20:22:23 +01:00
Boris Faure
36682a1b4e
termptyesc: CHA has to take into account DECOM + tests
2019-01-01 20:19:17 +01:00
Boris Faure
52f7ae6459
tests: ICH with amount=0
2019-01-01 18:29:44 +01:00
Boris Faure
a34376a8a9
tests: ensure DECALN moves cursor to 0;0
2019-01-01 18:12:08 +01:00
Boris Faure
59c547179d
termptyesc: support DECCRA + tests
2019-01-01 18:12:06 +01:00
Boris Faure
6661719829
termptyesc: extract ICH to its own function and add tests
2019-01-01 18:10:36 +01:00
Boris Faure
12cc6aaf42
termptyesc: support DECIC/DECDC + tests
2018-12-30 18:36:27 +01:00
Boris Faure
fee45b5492
termptyesc: DECCRARA/DECRARA when not in rectangle mode + tests
2018-12-29 22:13:58 +01:00
Boris Faure
288bea982d
termptyesc: handle DECRARA in its rectangular form + tests
2018-12-29 18:00:57 +01:00
Boris Faure
68787ad524
tests/termptyesc: handle DECSACE
...
Also regenerate tests since checksums changed due to new attribute
2018-12-29 17:21:07 +01:00
Boris Faure
63911989fc
termptyesc: handle deccara in its rectangular form + tests
2018-12-29 16:58:36 +01:00
Boris Faure
6e8faa30a7
termptyesc: refuse no value on decfra on the character to fill up + tests
2018-12-29 15:19:31 +01:00
Boris Faure
19a99dadff
termptyesc: support DECFI
...
Introduce different behaviour from xterm as I don't see why it behaves
like that when outside of left/right margin and on right border. Xterm
does not wrap.
2018-12-28 23:11:54 +01:00
Boris Faure
090f6a64f2
termptyesc: support DECBI
2018-12-28 21:56:02 +01:00
Boris Faure
49de9aea64
tests: avoid using $ in printf
2018-12-28 17:58:53 +01:00
Boris Faure
a940556cff
termpty: correctly handle wrap (DECAWM)
2018-12-28 17:41:33 +01:00
Boris Faure
a95bbbe731
termptyesc: DECALN only reset margins and cursor position
2018-12-28 17:25:28 +01:00
Boris Faure
6584612b20
tests: add on CUP
2018-12-27 22:14:44 +01:00
Boris Faure
e23d78e102
termptyesc: cpl and margins + tests
2018-12-27 22:14:44 +01:00
Boris Faure
3c47cc36e0
termptyesc: CNL and margins + tests
2018-12-27 22:14:44 +01:00
Boris Faure
4b32aec0ed
termptyesc: DCH shall handle margins. space created follows SGR + test
2018-12-27 22:14:44 +01:00
Boris Faure
5f715b9290
termpty: add debug on CHA + test
2018-12-27 22:14:44 +01:00
Boris Faure
9c2b3887d1
termptyesc: support DECSCLM but ignore it + test
2018-12-27 22:14:44 +01:00
Boris Faure
eab5ffb956
termptyesc: 98/108 are not valid color codes + test
2018-12-27 22:14:44 +01:00
Boris Faure
add8b71778
termptyesc: fix truecolors parsing + tests
2018-12-27 22:14:44 +01:00
Boris Faure
119a4d12af
termptyesc: handle CSI_ARG_ERROR in some SGR.
...
Closes T7475
2018-12-27 22:14:44 +01:00
Boris Faure
24b599ba97
tests: add one on colors
2018-12-27 22:14:44 +01:00
Boris Faure
e6d13fceb5
termptyesc: support DSR-UDK + test
2018-12-27 22:14:44 +01:00
Boris Faure
d2958cd301
termpty: support DSR-PP (Printer Port) + test
2018-12-27 22:14:44 +01:00
Boris Faure
8f2e15478d
termptyesc: support DSR-OS + test
2018-12-27 22:14:44 +01:00
Boris Faure
aebbed39e6
termptyesc: add support DSR-DECCKSR + test
2018-12-27 22:14:44 +01:00
Boris Faure
f54bd2350f
termptyesc: support DSR-MSR (0 Macro Space) + test
2018-12-27 22:14:44 +01:00
Boris Faure
5cef3b68b6
tytest: add write buffer to checksum
2018-12-27 22:14:44 +01:00
Boris Faure
9ed1b61f23
termptyesc: handle DSR-DIR (Data Integrity Report) + test
2018-12-27 22:14:44 +01:00
Boris Faure
feb7495fbb
termptyesc: DSR-CPR takes cursor restriction into account + test
2018-12-27 22:14:44 +01:00
Boris Faure
479d96e5dc
termptyesc: act like xterm, do not report title/icon-name
2018-12-27 22:14:44 +01:00
Boris Faure
ba6def8eb6
tests: add one on tabs
2018-12-27 22:14:44 +01:00
Boris Faure
ce07e81180
tests: on cursor shapes and regen tests.results
2018-12-27 22:14:44 +01:00
Boris Faure
c104ad38e0
tests: add tests on fonts: normal/italic/blod/bolditalic/fraktur/encircled
2018-12-27 22:14:44 +01:00
Boris Faure
77bacdac37
tests: add test on invalid DECFRA/DECERA and absent parameters
2018-12-27 22:14:44 +01:00
Boris Faure
71cbb44c08
tests: add test on cursor movements
2018-12-27 22:14:44 +01:00
Boris Faure
88bf97f4c2
add tests on DECERA
2018-12-27 22:14:44 +01:00
Boris Faure
4ba31c3fba
tests: differentiate NULL on prop.icon or prop.title
2018-12-27 22:14:44 +01:00
Boris Faure
826606e0c3
tests: add first tests + test framework
2018-12-27 22:14:44 +01:00