File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
from talon import Module , actions , app
2
2
3
3
from ..csv_overrides import init_csv_and_watch_changes
4
+ from ..primitive_target import IMPLICIT_TARGET
4
5
from .actions_callback import callback_action_defaults , callback_action_map
5
6
from .actions_custom import custom_action_defaults
6
7
from .actions_simple import (
@@ -43,6 +44,10 @@ def cursorless_command(action_id: str, target: dict):
43
44
actions .user .cursorless_single_target_command_no_wait (action_id , target )
44
45
if action_id in no_wait_actions_post_sleep :
45
46
actions .sleep (no_wait_actions_post_sleep [action_id ])
47
+ elif action_id in ["replaceWithTarget" , "moveToTarget" ]:
48
+ actions .user .cursorless_multiple_target_command (
49
+ action_id , [target , IMPLICIT_TARGET .copy ()]
50
+ )
46
51
else :
47
52
return actions .user .cursorless_single_target_command (action_id , target )
48
53
You can’t perform that action at this time.
0 commit comments