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
adding a
--hyperlink
option like inls
feel free to throw any comments at the codeEdit: 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 validconsole_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