Skip to content

Create file drag-and-drop target for ttyd #109

Description

@lionello

Currently, when drag-and-drop a file onto the browser window, the browser simply opens the local file. Instead what we'd want is that the file is passed to the agent tmux as something that's useable to the agent, ie. a URL of local file reference. This means that (1) we need to handle file drops in the HTML somehow, and (2) we'd need to move the file's data into a place the agent can reach.

We have a user daemon. Could it write into /tmp? Then paste/"type" the absolute name into tmux session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew capability

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions