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

[Bug] Unable to correctly match terminal width when executing multiple download commands #745

Open
leooooooooo opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@leooooooooo
Copy link

Describe the bug

This issue occurs when multiple download commands are executed and the file path is too long
Starting from the second or third command, the terminal width cannot be correctly matched
Usually, an extra 1-2 characters will force the output content to wrap
In addition, when this issue occurs, the terminal interface will flash
123
I have tried Windows terminal, Synology Docker terminal, QNAP Docker terminal,
whether executed locally or over SSH, using tmux or not, this issue occurs all the time

To Reproduce

tdl -d $TPATH dl -f $TPATH/result.json;tdl -d $TPATH dl -f $TPATH/result.json;tdl -d $TPATH dl -f $TPATH/result.json;
This issue occurs when the second or third command executed and the file path is too long

Expected behavior

please fix bug thank you!

Version

Version: 0.17.1
Commit: 7f4e543
Date: 2024-05-29T14:50:17Z

go1.21.10 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

@leooooooooo leooooooooo added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants