Commit Graph

19 Commits

Author SHA1 Message Date
BDisp
5c03b96242 Fixes #3966. TextField crashes app when pasting unicode surrogate pair (#3982)
* Add constructor Key(int) and operator for handled with non-Bmp.

* Fix TextField non-BMP issues

* Fix TextField PositionCursor.

* Reformat

* Add IsValidInput method to handle clipboard paste when pressing CTRL+V in WT

* Add handle IsValidInput in FakeDriver and unit tests

* Fixes #3984 - `Margin` w/out shadow should not force draw (#3985)

* shortcut tests

* Generic demos

* Optimize Margin to not defer draw if there's no shadow

* Fixes #4041. WSLClipboard doesn't handles well with surrogate pairs

* Avoid running Clipboard.Contents twice

* Fixes #4042. Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Could not find testhost

* Moving tests to the parallelizable unit tests

* Remove unused folder

* Prevent warnings about not installed nuget packages

* Using Toplevel instead of Application.Top

* Cleanup code

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2025-05-29 14:08:47 -06:00
tznind
e81e57c0c8 Remove unneeded members 2024-11-27 20:28:18 +00:00
Tig
97558c2dbf Code review comments and cleanup 2024-11-27 08:58:16 -07:00
tznind
c150cd358e Fix unit tests 2024-11-27 13:21:03 +00:00
tznind
27b15ec8ee WIP Building after merge conflict resolved - but does it work? 2024-11-27 12:59:05 +00:00
tznind
42ff86f68a Try to fix NetDriver compilation 2024-11-27 12:46:01 +00:00
tznind
90d492716a Adds IConsoleDriver 2024-11-24 11:01:51 +00:00
BDisp
bea966978a Restoring drivers with the sctructural changes. 2024-11-23 00:27:13 +00:00
BDisp
54f62645a2 Add ProcessAnsiRequestHandler method task. 2024-11-11 23:18:56 +00:00
BDisp
36876b9899 Change TryWriteAnsiRequest method to virtual which use common code for all drivers. 2024-11-11 01:10:18 +00:00
BDisp
88f4045381 Fix merge errors. 2024-11-10 16:38:21 +00:00
BDisp
1680ec54d6 Make AnsiEscapeSequenceRequests static. 2024-11-10 00:59:55 +00:00
BDisp
8c5832f8f1 Fix NetDriver to also work well in Linux. 2024-11-09 20:53:13 +00:00
BDisp
a6af3aadb7 An huge improvements on drivers and bug fixes. 2024-11-08 01:36:56 +00:00
BDisp
873b5783ef #nullable enable. 2024-11-07 15:41:58 +00:00
BDisp
3e952df5f7 Change to BlockingCollection, thanks to @tznind. 2024-11-07 13:04:11 +00:00
BDisp
a64f68ca7f Moving MapKey method to the AnsiEscapeSequenceRequestUtils class. 2024-11-07 02:00:44 +00:00
BDisp
f87c2b1e83 Rename EscSeq to AnsiEscapeSequence and move to his folder. 2024-11-07 00:37:33 +00:00
Tig
2919d55817 Code Review 2024-11-06 11:33:02 -07:00