Jason Shirk
194c8dba42
Add internal clipboard ( #803 )
...
For Mac/Linux, if the commands to use the system clipboard are missing,
we can at least simulate a clipboard internally, just for PSReadLine.
This is allows the clipboard tests to run in the Azure DevOps CI for
Linux.
2018-11-09 09:43:21 -08:00
Steve Lee
f92ecfe085
Enable building with dotnet cli for non-Windows ( #692 )
...
* Enable building with PSCore6
* Fix tests to work on non-Windows
* Added clipboard capability for non-Windows
2018-09-29 22:17:03 -07:00
Jason Shirk
73dfa57701
Fix P/Invoke used in clipboard support
...
The entrypoint for CopyMemory wasn't correct, for some reason it worked
with Desktop CLR but not Core CLR.
2017-12-01 17:07:14 -08:00
Jason Shirk
8e1c58a0a0
Skip clearing clipboard when pasting empty string
2017-11-02 22:17:32 -07:00
Jason Shirk
1d3a6819f8
CaptureScreen: correctly set rtf and plain text
2017-09-02 14:42:45 -07:00
Jason Shirk
00dba9372d
Fix Paste unit test
2017-09-02 13:03:00 -07:00
Jason Shirk
dc70f4e6d5
Copy to clipboard w/o WinForms
2017-09-02 10:09:24 -07:00
Jason Shirk
62447cef51
Paste from Windows clipboard without WinForms
2017-08-31 23:16:03 -07:00