Terminal-Icons icon indicating copy to clipboard operation
Terminal-Icons copied to clipboard

Feature Idea: Clickable folders

Open michalczerwinski opened this issue 4 years ago • 3 comments

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: image

michalczerwinski avatar Nov 15 '21 10:11 michalczerwinski

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\"

christofjans avatar Dec 01 '21 19:12 christofjans

Sadly this does not seem to work on/in Fluent Terminal, but I still think this is a good idea.

AnderssonPeter avatar Jan 13 '22 08:01 AnderssonPeter

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.

david-risney avatar May 07 '22 00:05 david-risney