wavetermdev / waveterm

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

Drag and Drop files support. #746

Open ayushs-2k4 opened 3 months ago

ayushs-2k4 commented 3 months 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 3 months 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 3 months 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.