Skip to content

Commit

Permalink
improve menu selection
Browse files Browse the repository at this point in the history
  • Loading branch information
t0thkr1s authored Aug 14, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 227137c commit ef4f506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revshellgen.py
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ def select(
new_index += 1
selected_index = new_index
break
elif keypress == '\n':
elif keypress == readchar.key.ENTER or keypress == '\n':
break
elif keypress == readchar.key.CTRL_C:
raise KeyboardInterrupt

0 comments on commit ef4f506

Please sign in to comment.