Commit Graph

2312 Commits

Author SHA1 Message Date
Boris Faure 42c9cb1842 tests: add some on mouse reporting in X10 mode, SGR reporting 2019-03-04 22:50:20 +01:00
Boris Faure a4a24fd290 tests: add some on mouse reporting in ext move while pressed mode, normal reporting 2019-03-03 23:19:04 +01:00
Boris Faure b6af646bc8 tests: add some on mouse reporting in mode "all", normal reporting 2019-03-03 23:09:57 +01:00
Boris Faure c462dce26d tests: add some on mouse reporting in mode "all", utf8 reporting 2019-03-03 22:57:11 +01:00
Boris Faure c9b5c52a5d termptyesc: typo in comment 2019-03-03 22:49:11 +01:00
Boris Faure b0c95877dc tests: add some on mouse reporting in ext move while pressed mode, utf8 reporting 2019-03-03 21:15:06 +01:00
Boris Faure 8e81c07b20 tests: add some on mouse reporting in normal mode, utf8 reporting 2019-03-03 21:13:05 +01:00
Boris Faure 8bc4c030c3 termiointernals: handle mouse wheel on normal mode after pos 94 2019-03-03 19:40:19 +01:00
Boris Faure cbe77cc98a tests: add some on mouse reporting in normal mode, normal reporting 2019-03-03 19:29:30 +01:00
Boris Faure acee5d2d67 it's possible to use alt with mouse wheel 2019-03-03 19:26:45 +01:00
Boris Faure bc45dba7c9 termiointernals: after x:94, no more reporting in normal mode 2019-03-03 19:25:56 +01:00
Boris Faure 765aea662a tests: add some on mouse reporting in X10 mode, utf8 reporting 2019-03-03 19:01:20 +01:00
Boris Faure 19c50c2642 tests: test around mouse_x10 frontier 2019-03-03 18:37:12 +01:00
Boris Faure 69e8255d25 termiointernals: cleanup 2019-03-03 18:36:09 +01:00
Boris Faure b9542183e6 termiointernals: handle meta & MOUSE_X10 in mouse_down 2019-03-03 18:35:27 +01:00
Boris Faure 36fcd2d2c4 tests: add tytest_termio_resize() 2019-03-03 18:22:18 +01:00
Boris Faure 490d388314 termptyesc: resize parameters were inverted 2019-03-03 15:55:01 +01:00
Boris Faure 72ff9cbe3c termiointernals: mouse wheel is not reported in X10 mode 2019-03-03 15:47:37 +01:00
Boris Faure bbe4960c2c tests: add some on mouse reporting in X10 mode, normal reporting 2019-03-03 13:20:25 +01:00
Boris Faure 5a98842d63 termiointernals: do not emit mouse wheel on mode X10 2019-03-03 13:20:03 +01:00
Boris Faure 72afb80d6e win: use min_* as base step since the old formula may < 0
Closes T7699
2019-03-02 18:26:04 +01:00
Boris Faure 5c4cf2ea38 tests: add one on window resize where the content is not wrapped 2019-03-01 13:29:00 +01:00
Boris Faure f0605c697d private.h: helper for testing escape codes on terminology's binary 2019-03-01 13:28:01 +01:00
Boris Faure 0f45747925 termpty: fix _termpty_cell_is_empty()
was not working on cell = {}
2019-03-01 13:23:02 +01:00
Boris Faure 1c9c2a19ed termptyesc: handle window manipulations that resizes the terminal
only for testing purpose
2019-02-27 23:46:04 +01:00
Boris Faure 4d89080d71 termiointernal: handle empty celles in selections.
Condition was wrong
2019-02-27 20:23:41 +01:00
Boris Faure b477d6cc20 tests: add one on selection invalidation when line got removed 2019-02-27 20:06:34 +01:00
Boris Faure 3f76507fe5 tests: update tests due to fix in previous commit 2019-02-25 23:03:51 +01:00
Boris Faure 5300a89013 termiointernals: fix segfault 2019-02-25 22:51:03 +01:00
Boris Faure 19cc710ad0 tests: add some on box selection to paragraph 2019-02-25 22:32:29 +01:00
Boris Faure 6c0ef9ed94 tests: add some tests on box selection to word 2019-02-25 22:05:55 +01:00
Boris Faure 7ef4b413b5 tests: add some on box selection to position 2019-02-25 22:05:02 +01:00
Boris Faure 1e5825832f termiointernals: rewrite _sel_word_to() + update tests 2019-02-25 22:02:11 +01:00
Boris Faure 48496b2eb5 termpty: cell is empty if bg is invisible. Closes T7707 2019-02-24 17:06:31 +01:00
Boris Faure 923fa4a553 tests: add some on selection *to* paragraphs 2019-02-24 16:20:03 +01:00
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 52a0ba46e0 termiointernals: selection is based on relative y, not on-screen y 2019-02-23 17:56:25 +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 bebb0872c3 termiointernals: remove empty selections 2019-02-23 13:34:31 +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 2ca440ba93 tytest: use same offset as "real life"
makes it easy to write tests
2019-02-23 11:19:20 +01:00
Boris Faure 5fedd2c0a4 termiointernals: unset selection when codepoint is different
but do not make a difference between space and no codepoint
2019-02-23 11:12:14 +01:00
Boris Faure 510032df70 termiointernals: fix leak in termio_internal_get_selection() 2019-02-22 20:15:16 +01:00