Skip to content

Commit 061746f

Browse files
committed
change name to keyboard_type
1 parent e30726f commit 061746f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

operate/dialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
style,
1818
)
1919
from operate.utils.os import (
20-
type,
20+
keyboard_type,
2121
search,
2222
click,
2323
)
@@ -139,7 +139,7 @@ def main(model, terminal_prompt, voice_mode=False):
139139
if action_type == "SEARCH":
140140
function_response = search(action_detail)
141141
elif action_type == "TYPE":
142-
function_response = type(action_detail)
142+
function_response = keyboard_type(action_detail)
143143
elif action_type == "CLICK":
144144
function_response = click(action_detail)
145145
else:

operate/utils/os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from operate.utils.misc import convert_percent_to_decimal
77

88

9-
def type(text):
9+
def keyboard_type(text):
1010
"""
1111
Types the given text using the keyboard.
1212

0 commit comments

Comments
 (0)