diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 15:03:05 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 15:25:21 -0500 |
commit | f37d69d7b85bf148693d094755fc727b6a4a05d9 (patch) | |
tree | 5bb3d8d6a02fd9eb57446a30bdaf6c481fce01dd /src/ui/widgets/tui_dirlist.rs | |
parent | 741d27e4c13c590f57e43286f4f85242006351f7 (diff) |
fix printing extra character
Diffstat (limited to 'src/ui/widgets/tui_dirlist.rs')
-rw-r--r-- | src/ui/widgets/tui_dirlist.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/widgets/tui_dirlist.rs b/src/ui/widgets/tui_dirlist.rs index 1010d42..4cb0ddc 100644 --- a/src/ui/widgets/tui_dirlist.rs +++ b/src/ui/widgets/tui_dirlist.rs @@ -42,7 +42,6 @@ impl<'a> Widget for TuiDirList<'a> { let space_fill = " ".repeat(drawing_width + 1); let x_start = x + 1; - for (i, entry) in self .dirlist .iter() |