Codebase list powercat / 1408512
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
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
168168 {
169169 if($Host.UI.RawUI.KeyAvailable)
170170 {
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))
172172 {
173173 Write-Verbose "CTRL or ESC caught. Stopping UDP Setup..."
174174 $FuncVars["Socket"].Close()
450450 {
451451 if($Host.UI.RawUI.KeyAvailable)
452452 {
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))
454454 {
455455 Write-Verbose "CTRL or ESC caught. Stopping TCP Setup..."
456456 if($FuncVars["l"]){$Socket.Stop()}