-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13973fe
commit 9bcf667
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# WindowsTerminalClipboardFixup | ||
|
||
Workaround for: https://github.com/microsoft/terminal/issues/2944 | ||
|
||
## How does it work | ||
|
||
Everytime you copy text, it checks if the copied text was copied out of the new Windows Terminal. | ||
If that is indeed the case, it tries to estimate the length of a line, and tries to split up the text according to that. | ||
|
||
The estimation of line-lengths is a bit | ||
[primitive](https://github.com/moritzuehling/WindowsTerminalClipboardFixup/blob/13973fe18ce291ea8908efe5da78d4dcae00424c/WindowsTerminalClipboardFixup/HiddenForm.cs#L133), | ||
if you have a better idea, please feel free to contribute it. Either way, it works better than whatever the terminal is doing right now. | ||
|
||
## How do I get this? | ||
|
||
You can download a build [here](https://github.com/moritzuehling/WindowsTerminalClipboardFixup/releases). |