-
Notifications
You must be signed in to change notification settings - Fork 44
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] file-size
in dirvish-attributes
makes lines wrap around in TTY sessions
#115
Comments
Did 884abea fixed this? |
f2c5433 ? |
Kind of. It works both in GUI as in TTY but not when I start a GUI emacs with a server and then connect to it via |
I see. I guess 95973cf should cut it. Thanks for your feedback. |
Yes, that works fine now. Thanks a lot! |
Thank you for the bug report
dirvish
related packages.the command
emacs -Q
.Bug description
I have
file-size
in mydirvish-attributes
which works fine in sessions with a graphical frame but it seems there's something wrong with the column calculation in TTY frames where the last character of the file size is one column too far at the right and thus wraps around in the next line. Here's a screenshot showing the issue.A possible candidate for that issue might be that dirvish assumes there are 1-column fringes which aren't there in TTY sessions. If that's the case, using the function
fringe-columns
in such calculations would be the right thing as they can also be customized (or disabled) in frame sessions.EDIT: No, it doesn't seem like a fringe problem. I cannot reproduce the issue in a graphical frame after
(setopt fringe-mode 0)
which disables fringes.Steps to reproduce
I can reproduce that behavior with at least the current emacs master branch starting with
emacs -Q
and then evaluating the following code in*scratch*
:Expected behavior
The file size does not make lines wrap around like in graphical sessions.
OS
Linux
Emacs Version
29
Emacs Configurations
vanilla
Error callstack
No response
Anything else
No response
The text was updated successfully, but these errors were encountered: