- 29 6月, 2015 5 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
Previously, each time it tried to render a table (to check its width), it both re-queried the filesystem and re-formatted the values into coloured strings. These values are now calculated only once before the table is drawn, and are used repeatedly throughout. Although it looks as though there's more `clone()`ing going on than before, it used to be recalculating things and storing them as vectors anyway, so the memory would still be used in any case.
-
由 Ben S 提交于
-
- 28 6月, 2015 2 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
This commit adds --grid, which, when used with --long, will split the details into multiple columns. Currently this is just 2 columns, but in the future it will be based on the width of the terminal. In order to do this, I had to do two things: 1. Add a `links` parameter to the filename function, which disables the printing of the arrow and link target in the details view. When this is active, the columns get way too large, and it becomes not worth it. 2. Change the `print_table` function from actually printing the table to stdout to returning a list of `Cells` based on the table. This list then gets its width measured to calculate the width of the resulting table.
-
- 23 6月, 2015 1 次提交
-
-
由 Ben S 提交于
Fixes #39!
-
- 21 6月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 18 6月, 2015 1 次提交
-
-
由 Benjamin Sago 提交于
-
- 17 6月, 2015 3 次提交
-
-
由 Michael Neumann 提交于
-
由 Michael Neumann 提交于
-
由 Michael Neumann 提交于
-
- 09 6月, 2015 2 次提交
- 05 6月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 04 6月, 2015 1 次提交
-
-
由 Ben S 提交于
Fixes #54 using the datetime crate's spiffy new time zone ability.
-
- 30 5月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 29 5月, 2015 1 次提交
-
-
由 Ben S 提交于
- Plain -> Style::default()
-
- 24 5月, 2015 1 次提交
-
-
由 Markus Engelbrecht 提交于
-
- 21 5月, 2015 2 次提交
- 17 5月, 2015 4 次提交
- 16 5月, 2015 3 次提交
- 12 5月, 2015 11 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
It's now in the locals of the Table struct, and didn't really belong in the column anyway.
-
由 Ben S 提交于
The benefit of having these all as separate methods instead of using the same trait is that we can just pass parameters in like this!
-
由 Ben S 提交于
-