Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate to directory on 'drag and drop' and 'paste' #76

Open
hnicke opened this issue Jun 11, 2018 · 3 comments
Open

Navigate to directory on 'drag and drop' and 'paste' #76

hnicke opened this issue Jun 11, 2018 · 3 comments
Labels
Milestone

Comments

@hnicke
Copy link
Owner

hnicke commented Jun 11, 2018

Not sure if possible with urwid.

@hnicke
Copy link
Owner Author

hnicke commented Jun 11, 2018

Termite does not support drag and drop.

@hnicke
Copy link
Owner Author

hnicke commented Jun 19, 2018

In Terminator, drag and drop of a file simply translates the full filepath to keypresses (e.g., like a Barcode Scanner). Because every path begins with / this results in triggering the filter feature.

@hnicke
Copy link
Owner Author

hnicke commented Jun 21, 2018

I was trying out what would happen when pasting (ctrl+shift+v) a directory in both terminator and termite: In both, the filter is being triggered. Hence, for relative dirs, this could even result in a mess. In the worst case scenario, this could accidentally trigger hooks.

I think it's possible to distinguish machine input like this from user input by measuring the time delta between keypress events. These may be ultra small for machine input.
Then, navigate to detected relative/ absolute dir.

@hnicke hnicke added this to the v1.0.0 milestone Jun 21, 2018
@hnicke hnicke added the feature label Jun 21, 2018
@hnicke hnicke changed the title Navigate to directory on 'drag and drop' Navigate to directory on 'drag and drop' and 'paste' Jun 21, 2018
@hnicke hnicke added bug and removed improvement labels Jun 21, 2018
@hnicke hnicke removed the bug label Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant