ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.51k stars 660 forks source link

feature: hyperlink flag #1177

Closed dankeyy closed 1 year ago

dankeyy commented 1 year ago

adding a --hyperlink option like in ls feel free to throw any comments at the code

Edit: it seems like your inline output is broken on master (is fine on latest release), meaning even if output can be displayed on one-two lines, it will spread as one file per line (try running exa from master on the exa root dir, then try it the same with v0.10.1/ ls)

As far as I've tested, this is because of the upgrade to term_grid 0.2.0 since then, grid.fit_into_width(self.console_width) returns None for what would've been valid console_width in past versions.

I will at least match the behavior of hyperlink to regular exa, so that if/ when you do fix it, it'll work fine with the hyperlink flag aswell

also read my comments, especially on the new escape function

thanks

nonZero commented 1 year ago

Refs #396

ariasuni commented 1 year ago

Closing this, since exa is unmaintained (see https://github.com/ogham/exa/issues/1243), and this has been merged in the active fork eza. Thanks!