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
24cc5eaf8d
termptyesc: Printer and Selective Erase are not supported
2019-01-07 23:39:34 +01:00
Boris Faure
5475920c56
termptyesc: add debug on sixel/regis graphics attributes
2019-01-07 23:31:31 +01:00
Boris Faure
a2656754bd
termptyesc: support DECST8C + tests
2019-01-07 23:13:52 +01:00
Boris Faure
19631a70f6
termptyesc: 'T' can also refer to Unset Title Modes (not handled)
2019-01-07 22:32:42 +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
822f959163
termpty: handle IL with left/right margins + tests
2019-01-05 19:25:37 +01:00
Boris Faure
571d2d03f1
Merge branch 'terminology-1.3'
2019-01-05 18:33:53 +01:00
Boris Faure
09d6660ae7
termio: fix invalid initial resize. Closes T7548
2019-01-05 18:28:43 +01:00
Boris Faure
8841e5259a
Merge branch 'terminology-1.3'
2019-01-04 23:37:48 +01:00
Boris Faure
007dfb60e3
termpty: reset circular_offset2 (for the 2nd buffer) to 0 (as it's cleared)
...
Closes T7543
2019-01-04 23:35:48 +01:00
Boris Faure
6952836a32
termio: allow 1 line or 1 column windows. Closes T7532
2019-01-04 23:34:08 +01:00
Boris Faure
a5d364bcbf
termptyops: ensure clearing cells do not increase link count
2019-01-03 22:46:07 +01:00
Boris Faure
99da684d81
config: s/;;/;/
2019-01-02 23:45:49 +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
f7576fb01c
termptyesc: move CHT handler to its own function
2019-01-01 20:32:45 +01:00
Boris Faure
36682a1b4e
termptyesc: CHA has to take into account DECOM + tests
2019-01-01 20:19:17 +01:00
Boris Faure
a0db416469
termptyesc: cleanup
2019-01-01 20:13:09 +01:00
Boris Faure
eb84e538b1
termptyesc: move CUF/CUB handlers to their own functions
2019-01-01 18:53:46 +01:00
Boris Faure
bf853e8b91
termptyesc: move CUU/CUD handlers to their own functions
2019-01-01 18:53:01 +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
9cb340e29f
termio: inverse colors only after applying bold/faint (more precise)
2018-12-29 16:57:44 +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
fd92428c57
termptyesc: add debug on DECCAPSLK and clean up other debug
2018-12-28 22:01:47 +01:00
Boris Faure
02a9c5325a
termptyesc: add debug on DECCANSM
2018-12-28 21:59:42 +01:00
Boris Faure
7d668d79d1
termptyesc: remove unused parameter
2018-12-28 21:56:29 +01:00
Boris Faure
090f6a64f2
termptyesc: support DECBI
2018-12-28 21:56:02 +01:00
Boris Faure
6f1e3ea077
termptyesc: always check return of _csi_truecolor_arg_get()
...
CID1398478
CID1398479
CID1398480
2018-12-28 19:04:43 +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
54c3e4790b
termptyesc: add debug on DECARSM
2018-12-27 22:14:44 +01:00
Boris Faure
edc469d16f
termptyesc: add debug on DECARM
2018-12-27 22:14:44 +01:00
Boris Faure
19e8bf13f9
termptyesc: add debug on DECANM
2018-12-27 22:14:44 +01:00
Boris Faure
81fb1959eb
termptyesc: add debug on DECAAM
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
c162b07b16
col: assert in case of invalid values
2018-12-27 22:14:44 +01:00