Comments (10)
came here looking for others having the same.
lsd 1.1.1
ls returns a vertical list of files if the size cant hold them all in one line
from lsd.
I decided to rollback the term_grid dependency and we can later discuss which version or libs we should upgrade to.
#1019, after this one is merged, I will release a v1.1.2 to do a quick fix.
sorry for the bothering, I was kinda busy recently, but this should not be an excuse
from lsd.
It seems -a
doesn't matter (much) here.
My observation is if non-.
items cannot fit in one line, it'll show one item per line.
In the above case non-.
items are not many, so even though with both it's wider than one line, it still behaves as expected.
I'm using iTerm2. This is new in the last release.
from lsd.
lsd --version
: lsd 1.1.1echo $TERM
: xterm-kitty- Arch Linux
Running into the same issue.
I've aliased ls to /usr/bin/lsd --icon=auto --color=auto -F
, and indeed adding -a will make files wrap as expected.
from lsd.
it was introduced because we upgraded the term_grid = "0.1.*" dependency to the newer version, let me have a look at it.
from lsd.
I am also having this issue.
lsd --version
: lsd 1.1.1echo $TERM
: alacritty- MacOS 14.4
from lsd.
I have the same issue
lsd --version
: lsd 1.1.1echo $TERM
: xterm-256color- MacOS 14.4
from lsd.
Hm, I think I've found the root cause - term_grid
doesn't ignore ANSI codes when calculating the width of each entry. That could be tricky to solve...
EDIT: Ah, actually there's a more maintained fork of the library at https://github.com/uutils/uutils-term-grid ! And it does properly ignore ANSI codes.
from lsd.
as now https://github.com/lsd-rs/lsd/releases/tag/v1.1.2 released, this would be close
/close
from lsd.
@zwpaper: Closing this issue.
In response to this:
as now https://github.com/lsd-rs/lsd/releases/tag/v1.1.2 released, this would be close
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from lsd.
Related Issues (20)
- should we hide the user/group block when permission set to attribute in windows HOT 3
- alacritty no show icon HOT 1
- fails to build with `--locked` HOT 3
- [Bug]: `name` icon settings with capital letters are ignored
- icons.yaml not letting configure any new extensions except for default
- [Bug]: "corrupted size vs. prev_size" on ARM with "--git -l"
- Missing icon HOT 3
- [Bug]: lsd unicode characters not piped correctly in windows HOT 1
- [Bug]: All files from NTFS partition showing with green highlight HOT 1
- Truncate file names for a better looking grid list HOT 2
- Date formatted value doesn't work HOT 5
- Debian repo way out of date
- [Bug]: lsd 1.1.2 reporting 1.0.0? HOT 4
- [Bug]: Incorrectly shown icons after update HOT 1
- [Bug]: LSD not reading config.yaml HOT 5
- [Feature] Flag to show all blocks (columns), overriding config.yaml
- [Bug]: `lsd` has a different pipe behavior from `ls` HOT 2
- [Bug]: LSD -l permissions incorrect and user/group are both always "?"
- Names not aligned when using nerd font glyphs and Unicode emojis cusomization file
- Tests fail on OpenBSD with Rust 1.78.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsd.