Commit Graph

1729 Commits

Author SHA1 Message Date
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
Boris Faure fb24dfabb1 termptyesc: add some debug 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 3cc3f3ee2a add tytest.h and colors_256_get() to be able to test truecolor 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 6931f96d0d termptyesc: handle CSI_ARG_ERROR 2018-12-27 22:14:44 +01:00
Boris Faure a4418b85f6 termpty: display escape sequence when can't decode it 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 e0ed4b4ad9 termptyesc: handle DSR-KBD but hardcode keyboard + test 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 e4d7cb93f2 termptyesc: act as xterm-337 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 d43110e0fd termptyesc: fix decera/decfra when bottom coordinate is too large 2018-12-27 22:14:44 +01:00
Boris Faure 713bb211fc termptyesc: fix VPR (now goes down instead of up) 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 2db4a0e980 termptyesc: fix _clean_up_rect_coordinates() when cursor is restricted 2018-12-27 22:14:44 +01:00