diff --git a/pyproject.toml b/pyproject.toml index 275cdc0..3b05215 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "simple-recorder" -version = "0.3.2" +version = "0.3.3" description = "A simple OBS recorder" authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] dependencies = [ diff --git a/src/simple_recorder/gui.py b/src/simple_recorder/gui.py index b4d4114..866468f 100644 --- a/src/simple_recorder/gui.py +++ b/src/simple_recorder/gui.py @@ -103,6 +103,9 @@ class SimpleRecorderWindow(fsg.Window): self["Add Chapter"].bind("", " || LEAVE") self["Add Chapter"].bind("", " || RIGHT_CLICK") + self["-GET-CURRENT-"].bind("", " || RETURN") + self["-UPDATE-"].bind("", " || RETURN") + async def run(self): while True: event, values = self.read() @@ -186,7 +189,7 @@ class SimpleRecorderWindow(fsg.Window): "This feature is not implemented yet", text_color="orange" ) - case ["-GET-CURRENT-"]: + case ["-GET-CURRENT-"] | ["-GET-CURRENT-", "RETURN"]: try: current_directory = await Directory( host=self.host, port=self.port, password=self.password @@ -197,7 +200,7 @@ class SimpleRecorderWindow(fsg.Window): f"Error: {e.raw_message}", text_color="red" ) - case ["-UPDATE-"]: + case ["-UPDATE-"] | ["-UPDATE-", "RETURN"]: filepath = values["-FILEPATH-"] if not filepath: self["-OUTPUT-SETTINGS-"].update(