We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8874330 commit ae0a88dCopy full SHA for ae0a88d
efck/output.py
@@ -119,12 +119,11 @@ def _type_macos(text):
119
tell application "System Events"
120
keystroke "v" using command down
121
key code 124 -- right arrow clears the selection
122
- delay 0.15
123
end tell
124
set the clipboard to prev_contents
125
'''
126
text = text.replace('"', '\\"')
127
- proc = subprocess.run(['sh', '-c', f"sleep .2 && nohup osascript -e '{_OSASCRIPT.format(text)}' & disown"])
+ proc = subprocess.run(['sh', '-c', f"sleep .25 && nohup osascript -e '{_OSASCRIPT.format(text)}' & disown"])
128
return proc.returncode
129
130
0 commit comments