mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-24 17:40:25 +00:00
Update term_grid to 0.2
This commit is contained in:
parent
ef8fd32dc6
commit
af208285e8
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -279,9 +279,9 @@ checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
|
||||
|
||||
[[package]]
|
||||
name = "term_grid"
|
||||
version = "0.1.7"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "230d3e804faaed5a39b08319efb797783df2fd9671b39b7596490cb486d702cf"
|
||||
checksum = "a7c9eb7705cb3f0fd71d3955b23db6d372142ac139e8c473952c93bf3c3dc4b7"
|
||||
dependencies = [
|
||||
"unicode-width",
|
||||
]
|
||||
|
@ -27,7 +27,7 @@ natord = "1.0"
|
||||
num_cpus = "1.10"
|
||||
number_prefix = "0.4"
|
||||
scoped_threadpool = "0.1"
|
||||
term_grid = "0.1"
|
||||
term_grid = "0.2.0"
|
||||
terminal_size = "0.1.16"
|
||||
unicode-width = "0.1"
|
||||
users = "0.11"
|
||||
|
@ -46,6 +46,7 @@ impl<'a> Render<'a> {
|
||||
grid.add(tg::Cell {
|
||||
contents: filename.strings().to_string(),
|
||||
width: *filename.width(),
|
||||
alignment: tg::Alignment::Left,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -263,6 +263,7 @@ impl<'a> Render<'a> {
|
||||
let cell = grid::Cell {
|
||||
contents: ANSIStrings(&column[row].contents).to_string(),
|
||||
width: *column[row].width,
|
||||
alignment: grid::Alignment::Left,
|
||||
};
|
||||
|
||||
grid.add(cell);
|
||||
@ -276,6 +277,7 @@ impl<'a> Render<'a> {
|
||||
let cell = grid::Cell {
|
||||
contents: ANSIStrings(&cell.contents).to_string(),
|
||||
width: *cell.width,
|
||||
alignment: grid::Alignment::Left,
|
||||
};
|
||||
|
||||
grid.add(cell);
|
||||
|
Loading…
Reference in New Issue
Block a user