Skip to content

Commit

Permalink
Create key_binding.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum-quirks authored Apr 6, 2022
1 parent 1ee569b commit d756b72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Key_Binding/key_binding.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from quo.keys import bind
from quo.prompt import Prompt

session = Prompt()

@bind.add("ctrl-h")
def _(event):
print("Hello, World")

session.prompt("")

0 comments on commit d756b72

Please sign in to comment.