mirror of
https://github.com/trycua/computer.git
synced 2026-05-20 08:00:11 -05:00
fixed wrong kwarg
This commit is contained in:
@@ -195,7 +195,7 @@ class Diorama:
|
||||
async def press_key(self, key):
|
||||
await self._send_cmd("press_key", {"key": key})
|
||||
|
||||
async def hotkey(self, *keys):
|
||||
async def hotkey(self, keys):
|
||||
await self._send_cmd("hotkey", {"keys": list(keys)})
|
||||
|
||||
async def get_screen_size(self) -> dict[str, int]:
|
||||
|
||||
Reference in New Issue
Block a user