terminal/src
Matt Peterson d5974f4c91
Automatically convert paths dropped on WSL instances (#11625)
Drag and drop does not work for WSL because paths are pasted as windows
paths having incorrect path separator and path root.  This PR adds code
to correct the path in TerminalControl before pasting to WSL terminals.

One problem with this approach is that it assumes the default WSL
automount root of "/mnt". It would be possible to add a setting like
"WslDragAndDropMountRoot"... but I decided it if someone wants to change
automount location it would be simple enough just to create the "/mnt"
symlink in WSL.

## Validation
Couldn't find an obvious place to add a test.  Manually tested
cut-n-paste from following paths:
- "c:\"
- "c:\subdir"
- "c:\subdir\subdir"
- "\\wsl.localhost\<distro>"
- \\wsl.localhost\<distro>\subdir"

Closes #331
2021-11-10 21:19:52 +00:00
..
api-ms-win-core-synch-l1-2-0 Introduce a api-ms-win-core-synch-l1-2-0 shim for Windows 7 (#10559) 2021-07-07 16:48:28 +00:00
buffer Standardize the color table order (#11602) 2021-11-04 22:13:22 +00:00
cascadia Automatically convert paths dropped on WSL instances (#11625) 2021-11-10 21:19:52 +00:00
dep
host Migrate OSS up to f9b97c488 2021-11-09 13:39:28 -06:00
inc Migrate OSS up to f9b97c488 2021-11-09 13:39:28 -06:00
interactivity Standardize the color table order (#11602) 2021-11-04 22:13:22 +00:00
internal Implement Default Terminal (#7489) 2021-03-26 17:09:49 -05:00
propsheet Merged PR 6176782: [Git2Git] Get rid of dead build macros/#defines FE_IME, W32_SB, etc. 2021-06-21 10:50:52 -07:00
propslib Merged PR 6176782: [Git2Git] Get rid of dead build macros/#defines FE_IME, W32_SB, etc. 2021-06-21 10:50:52 -07:00
renderer Standardize the color table order (#11602) 2021-11-04 22:13:22 +00:00
server Migrate OSS up to f9a844dbd 2021-09-21 16:22:57 -05:00
staging Merged PR 6147892: Make til::feature build in the OS 2021-06-11 17:57:36 +00:00
terminal Fix a conhost binary size regression due to fmt (#11727) 2021-11-10 21:03:47 +00:00
testlist Reflect testlist change from OS 2021-03-29 15:24:43 -05:00
til Add an enum-compatible bitset class. (#10492) 2021-09-27 13:27:29 +00:00
tools Remove time and sys (#11100) 2021-09-01 21:30:39 +00:00
tsf Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
types Standardize the color table order (#11602) 2021-11-04 22:13:22 +00:00
winconpty Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
common.build.post.props Add support for branch- and branding-based feature flagging (#10361) 2021-06-10 23:09:52 +00:00
common.build.pre.props Compile OpenConsoleProxy without CRT (#11610) 2021-10-26 19:08:49 +00:00
common.build.tests.props Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
common.pgo.compile.props Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
common.pgo.runtime.props Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
ConsolePerf.regions.xml
ConsolePerf.wprp Set keyword flags on all tracelog events (#10098) 2021-05-14 23:14:26 +00:00
cppwinrt.build.post.props Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
cppwinrt.build.pre.props Compile OpenConsoleProxy without CRT (#11610) 2021-10-26 19:08:49 +00:00
dirs Merged PR 6147892: Make til::feature build in the OS 2021-06-11 17:57:36 +00:00
features.xml Remove feature flag code for editable actions page (#11576) 2021-10-25 11:16:49 +00:00
project.inc Merged PR 6654362: [Git2Git] OS build fixes for f9b97c488 2021-11-09 23:16:26 +00:00
project.unittest.inc
StaticAnalysis.ruleset
Terminal.wprp Add even MORE logging for defterm (#11537) 2021-10-19 13:29:18 -07:00
unit.tests.x64.runsettings
unit.tests.x86.runsettings
wap-common.build.post.props
wap-common.build.pre.props Fix compilation with VS16.10 and later (#10208) 2021-05-26 20:11:38 +00:00