You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# PowerShell and the 50 characters clipboard problem
2
+
3
+
At the moment the `microsoft/windowsservercore` image has the problem
4
+
that pasting a longer text will be cut at 50 characters.
5
+
6
+
Try it with the following command, copy it to clipboard,
7
+
8
+
```
9
+
Write-Host Paste and execute this command does not loose characters.
10
+
```
11
+
12
+
then start an interactive container
13
+
14
+
```
15
+
docker run -it microsoft/windowsservercore powershell
16
+
```
17
+
18
+
Now paste your clipboard into it (I also can repro it from my Mac pasting it into a Windows container). The command is missing the last two words. Try it again in microsoft/nanoserver and it will work.
19
+
20
+
A fix could be removing PSReadLine from windowsservercore until it is fixed in PSReadLine module.
0 commit comments