Read-Host paste dropping letters after F8/F5
See original GitHub issueIssue Type: Bug
This is similar to fixed bug https://github.com/PowerShell/vscode-powershell/issues/2291
On the original issue it was happening every time Read-Host
was used.
Apparently now it happens only if you F8 or F5 (Run anything doesn’t matter) then F8 or F5 again this time with Read-Host
and paste something.
Random characters from the string pasted will be missed.
If you Enter/Ctrl+C between the 2 actions this doesn’t happen.
Extension version: 2020.6.0 VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z) OS version: Windows_NT x64 10.0.17763
1591194302-8adf92aa-6105-406f-97ea-3c9013c8ba161591191688507.zip
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-4770 CPU @ 3.40GHz (2 x 3392) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: disabled_off oop_rasterization: unavailable_off protected_video_decode: unavailable_off rasterization: unavailable_off skia_renderer: disabled_off_ok video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off_ok webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 2.00GB (0.43GB free) |
Process Argv | |
Screen Reader | no |
VM | 100% |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (8 by maintainers)
Top Results From Across the Web
need to supply multiline input from a copy/paste - TechNet
Hello,. I would like to write a script that prompts for input (like using read-host), but I need to be able to copy/paste...
Read more >Powershell - Allow and Parse Multiple Line Paste
Read -Host inherently supports only one line of input, so you have the following options: Make your users copy and paste a single-line...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andschwa Did some more testing (with the build you mentioned). No problem when using terminal directly without F8/F5. With F8/F5 when typing it will miss the first letter. With F8/F5 when pasting unpredictable.
I think it’s maybe related to https://github.com/PowerShell/vscode-powershell/issues/3881
It happened!!!