Commit 18ce8c54 authored by Fjen Undso's avatar Fjen Undso
Browse files

gui/focusable: add send_key()

parent 3658a8a1
from abc import ABC, abstractmethod
class Focusable(ABC):
def __init__(self):
self.focus = False
......@@ -7,3 +8,7 @@ class Focusable(ABC):
def toggle_focus(self):
self.focus = not self.focus
def send_key(self, key):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment