diff --git a/Key_Binding/key_binding.py b/Key_Binding/key_binding.py new file mode 100644 index 00000000000..dfd448497b1 --- /dev/null +++ b/Key_Binding/key_binding.py @@ -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("") diff --git a/Key_Binding/requirement.txt b/Key_Binding/requirement.txt new file mode 100644 index 00000000000..51d89fc61fc --- /dev/null +++ b/Key_Binding/requirement.txt @@ -0,0 +1 @@ +quo>=2022.4