Update upstream source from tag 'upstream/0.0_git20200727.4bea000'
Update to upstream version '0.0~git20200727.4bea000'
with Debian dir 9500bd532c77c3587c45b8cd86ca9511a0b7a0e9
Arnaud Rebillout
2 years ago
168 | 168 | { |
169 | 169 | if($Host.UI.RawUI.KeyAvailable) |
170 | 170 | { |
171 | if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown").VirtualKeyCode)) | |
171 | if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown,IncludeKeyUp").VirtualKeyCode)) | |
172 | 172 | { |
173 | 173 | Write-Verbose "CTRL or ESC caught. Stopping UDP Setup..." |
174 | 174 | $FuncVars["Socket"].Close() |
450 | 450 | { |
451 | 451 | if($Host.UI.RawUI.KeyAvailable) |
452 | 452 | { |
453 | if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown").VirtualKeyCode)) | |
453 | if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown,IncludeKeyUp").VirtualKeyCode)) | |
454 | 454 | { |
455 | 455 | Write-Verbose "CTRL or ESC caught. Stopping TCP Setup..." |
456 | 456 | if($FuncVars["l"]){$Socket.Stop()} |