Skip to main content

Add a note about why this is broken

ID
d3361e3
date
2024-01-12 07:25:58+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
9235be3
message
Add a note about why this is broken
changed files
1 file, 4 additions

Changed files

textexpander/get_markdown_link.py (1341) → textexpander/get_markdown_link.py (1505)

diff --git a/textexpander/get_markdown_link.py b/textexpander/get_markdown_link.py
index f5e5db0..bcf9258 100755
--- a/textexpander/get_markdown_link.py
+++ b/textexpander/get_markdown_link.py
@@ -28,6 +28,10 @@ def get_reference_label(url: str) -> str:
         return u.path[1]
 
     # If we can't deduce a default link name, prompt the user for input.
+    #
+    # Note: this seems to steal focus from the current app, prevent
+    # TextExpander from actually filling in the snippet.
+    # TODO: Investigate further!
     cmd = [
         "osascript",
         "-e",