The gui wrapper on a Mac doesn't seem to be able to handle hyperlink clicks when those contain spaces etc.
I guess there needs to be some (html??) un-escape conversion?
this works with the same editor
printf '\x1b]8;;file:///path/to/file/with spaces.txt\x1b\\This is a file with spaces\x1b]8;;\x1b\\\n'
while this fails trying to open a with%20spaces.txt instead
printf '\x1b]8;;file-line-column:///path/to/file/with spaces.txt\x1b\\This is a file with spaces\x1b]8;;\x1b\\\n'
The gui wrapper on a Mac doesn't seem to be able to handle hyperlink clicks when those contain spaces etc. I guess there needs to be some (html??) un-escape conversion?
this works with the same editor
while this fails trying to open a
with%20spaces.txt
instead