-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
Long input is truncated in rename prompt #279
Comments
I will leave it as a won'tfix. We can check the number of columns available for the name and then show those number of characters from the end. But there would be non-trivial cases with Unicode characters or when the name is being edited at the middle. I think I can spend my time doing something less clumsy. Let's leave it to the user to choose a better terminal size if he is going to have very long names for the files. |
BTW, if you are interested feel free to take a dig at it and raise a PR by all means. |
Thanks, I'll take a look! |
Thank you so much! |
The other point I missed earlier - we do have the batch rename support where one can edit the file name in the editor. |
Of course, thanks!
|
Environment details (Put
x
in the checkbox along with the information)[x] Operating System: Arch, GNU/Linux
[x] Desktop Environment:
[x] Terminal Emulator: st
[x] Shell: zsh, sh, bash
[ ] Custom desktop opener (if applicable):
[x] Issue exists on
nnn
masterExact steps to reproduce the issue
^R
)$COLUMNS
is not visible in the prompt. I suggest that the input prompt displays the end of the input string, if it is longer than the terminal width.nnn
rocks!The text was updated successfully, but these errors were encountered: