refactor: 优化代码格式,提升可读性
This commit is contained in:
1 parent
df96e5fc83
commit
a84836a6c7
2 files changed
+9
-5
No files matched your search
@@ -3087,7 +3087,9 @@ class underlying_operations:
|
||||
time_module.sleep(0.25)
|
||||
self.restore_ime(device_id, prev)
|
||||
|
||||
def paste_text_at(self, device_id: str, x: int, y: int, text: str, ensure_focus: bool = True) -> bool:
|
||||
def paste_text_at(
|
||||
self, device_id: str, x: int, y: int, text: str, ensure_focus: bool = True
|
||||
) -> bool:
|
||||
"""最简单的“粘贴到输入框”方法。
|
||||
|
||||
流程:点击输入框获取焦点 -> 设置剪贴板 -> 发送 KEYCODE_PASTE(279)。
|
||||
|
||||
Reference in new issue
Block a user