Skip to content

Commit

Permalink
Align Setup_UDP with Setup_TCP changes from #19
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebaggett committed Jul 27, 2020
1 parent 42c46df commit 4bea000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powercat.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Examples:
{
if($Host.UI.RawUI.KeyAvailable)
{
if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown").VirtualKeyCode))
if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown,IncludeKeyUp").VirtualKeyCode))
{
Write-Verbose "CTRL or ESC caught. Stopping UDP Setup..."
$FuncVars["Socket"].Close()
Expand Down

0 comments on commit 4bea000

Please sign in to comment.