Terminal-Icons
Terminal-Icons copied to clipboard
Feature Idea: Clickable folders
When displaying names of folders and files we can easily make them clickable. Using something along the lines:
${ESC}=[char]27
Write-Host "${ESC}]8;;c:\Users${ESC}\c:\Users${ESC}]8;;${ESC}\"
We can have an option to open folder in Explorer:

Does it have to be restricted to folders ? Can we not make any file clickable ? It would open with the associated application.
This worked for me (windows terminal) :
Write-Host "`e]8;;C:\Users\chris\Desktop\x\x.txt`e\C:\Users\chris\Desktop\x\x.txt`e]8;;`e\"
Sadly this does not seem to work on/in Fluent Terminal, but I still think this is a good idea.
Clickable text is supported in WIndows Terminal now. I've made a PowerShell script (see script gist) to apply it like Terminal-Icons and it works great.