Commit Graph

2102 Commits

Author SHA1 Message Date
tznind
1877cc7f1b Add exploration of Esc + typing and standardize unicode to \u001b 2024-10-12 12:55:36 +01:00
tznind
88922c2f43 Fix use case of 2 esc in a row 2024-10-12 12:45:49 +01:00
tznind
16a787e196 Fix base class dropping T all over the place 2024-10-12 12:42:05 +01:00
tznind
dbfdffba7a Give AnsiResponseParser a chance to release its content each iteration if it has been some time since we saw Esc 2024-10-12 11:41:47 +01:00
tznind
c99487f313 Double up all tests so that generic and string versions are both tested 2024-10-12 11:22:33 +01:00
tznind
d1669a50b8 Allow attatching arbitrary metadata to each char handled by AnsiResponseParser 2024-10-12 09:01:30 +01:00
tznind
fa15389e9c Fix unit test cases 2024-10-12 08:12:22 +01:00
tznind
b83219d82c WIP - Add lots of tests, needs validation as expectations are wrong in many that are failing (AI) 2024-10-11 21:05:27 +01:00
tznind
3af5c6a4fb Test all permutations of the input stream 2024-10-11 20:18:19 +01:00
Thomas Nind
bb0bdb0bc5 Merge branch 'v2_develop' into ansi-parser 2024-10-11 19:38:37 +01:00
tznind
a0c3363210 Update handling to have state 2024-10-11 18:39:31 +01:00
tznind
22e612e4ac Explore parser more 2024-10-11 18:01:20 +01:00
Thomas Nind
cc0d9655e5 Fixes #3713 - TextField & TextView - When pressing right/left clear the selection instead of move tab (#3776)
* When pressing right clear the selection instead of move tab - TextField

* Add tests and start on TextView

* Finish tests for TextView

* Fix typos

* typo fix x2

* Fix for Selecting being renamed IsSelecting

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-10-11 09:48:15 -06:00
tznind
ac09a6add4 Initial test to define the task of the parser 2024-10-11 13:30:53 +01:00
Tig
a06dad57ae Merge pull request #3772 from BDisp/v2_3771_textview-no-printable-rune-fix
Fixes #3771. TextView doesn't consider no-printable rune in draw and cursor position.
2024-10-10 21:52:28 -04:00
BDisp
bd307f7085 Merge branch 'v2_develop' into v2_2798_add-true-color-to-cursesdriver 2024-10-11 00:16:52 +01:00
BDisp
a6234da334 Fix merge errors. 2024-10-09 12:40:47 +01:00
BDisp
614bb69ed9 Resolving merge conflicts. 2024-10-09 12:39:59 +01:00
Tig
2970e55824 Mouse unit test diag 2024-10-08 21:23:49 -04:00
Tig
fd9786717e Fixed more menubar/statusbar 2024-10-08 21:21:56 -04:00
Tig
14e2391a10 Fixed toplevel unit tests 2024-10-08 19:20:06 -04:00
Tig
a349af0036 Fixed #3781 2024-10-08 13:49:32 -04:00
Tig
dc4ce1e418 Fixed Dialogs 2024-10-08 01:03:23 -04:00
Tig
eee6099b73 Bdisp feedback fixes 2024-10-07 23:01:05 -04:00
Tig
5006e0036b Fixed TextView not handling space 2024-10-07 10:53:39 -04:00
Tig
78d0a8fc3b Accepted->Accepting 2024-10-07 08:58:17 -04:00
Tig
018dbc625e Accepted now takes CommandEventArgs 2024-10-07 08:51:35 -04:00
Tig
bb7e4282a4 HotKeyHandled->HandlingHotKey 2024-10-07 08:37:46 -04:00
Tig
68b1e6f257 Selected->Selecting 2024-10-07 08:22:55 -04:00
Tig
fc34585256 Selected->Selecting 2024-10-07 07:59:17 -04:00
Tig
2a989df553 Selected->Selecting 2024-10-07 07:38:11 -04:00
Tig
a7e166ef5c Shortcut code cleanup 2024-10-06 18:50:53 -06:00
Tig
c4e8ec4a56 All unit test pass for reals? 2024-10-06 18:24:20 -06:00
BDisp
22cf92da85 Fix newline unit test error on Linux. 2024-10-07 00:56:18 +01:00
Tig
39bf84472d Added more unit tests 2024-10-06 17:46:45 -06:00
BDisp
853f95f7f7 Move unit tests per @tig. 2024-10-07 00:42:54 +01:00
BDisp
e58c15f2e6 Add undo and redo support for cells attribute. 2024-10-07 00:20:40 +01:00
Tig
f5f850bb93 Fixed combobox 2024-10-06 16:36:04 -06:00
Tig
f2d27a5d08 Working on ComboBox 2024-10-06 15:41:07 -06:00
Tig
44259cce46 Fixed HexView nav unit test 2024-10-06 10:23:33 -06:00
Tig
3c3b4f85cd Fixed Application tests 2024-10-06 10:14:14 -06:00
Tig
ce126b6a81 Fixed ScreenPosition in tests - MenuBar tests broke 2024-10-06 08:48:52 -06:00
Tig
923e5d1cf3 Fixed ScreenPosition in tests 2024-10-06 08:39:05 -06:00
BDisp
6a0aa9a3b2 Add feature to copy, cut and paste with the cells attributes. 2024-10-06 01:18:58 +01:00
Tig
6adeec6548 More refactoring. Still WIP 2024-10-05 17:41:48 -06:00
BDisp
c54041e73e Fix unit test. 2024-10-05 22:56:07 +01:00
Tig
af110d92d0 In the middle of another refactoroing 2024-10-05 12:43:09 -06:00
BDisp
ccf2daa024 Change all RuneCell to Cell and move methods to the Cell record struct. 2024-10-05 18:01:29 +01:00
Tig
3649a047f2 Re-fixed 2024-10-05 06:23:59 -06:00
Tig
1e19e9572d Thinking through Adornments (again) 2024-10-03 14:57:24 -06:00