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

File path input #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

therealOri
Copy link

Updated:

  • Added .replace('\\ ', ' ').strip() to the end of the input asking for a file to be dragged and dropped into the terminal.

This bit of code removes the empty space at the end of the path after dragging and dropping a file into the terminal. So you can literally just drag, drop, and go without it screaming about it not being a file and doesn't exist.

Updated:
- Added `.replace('\\ ', ' ').strip()` to the end of the input asking for a file to be dragged and dropped into the terminal.
> This bit of code removes the empty space at the end of the path after dragging and dropping a file into the terminal. So you can literally just drag, drop, and go without it screaming about it not being a file and doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant