wavetermdev / waveterm

An open-source, cross-platform terminal for seamless workflows
https://www.waveterm.dev
Apache License 2.0
3.98k stars 96 forks source link

Drag and Drop files support. #746

Open ayushs-2k4 opened 1 month ago

ayushs-2k4 commented 1 month ago

Is your feature request related to a problem? Please describe. Not really a problem, but it is sometimes easier to cd into folder by dragging and dropping it or paste the path of file by dragging and dropping into the terminal.

Describe the solution you'd like Drag & Drop file/folders, like in the regular terminal, once you drag something it copies the path of file/folder.

simulatedecosystems commented 1 month ago

Additionally, an idea would be dragging and dropping a folder onto the app icon when running could open an new tab at that path (complements the above).

esimkowitz commented 1 month ago

The first should be very doable! I'll look into it.

The second one may be harder without deeper OS access than we currently have. As an alternative, we can do something like a "Open With Wave" option in the native file explorer.