diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-04-18 19:10:57 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-04-18 19:10:57 -0400 |
commit | 3fa40b654a96df76f445da7da3a35bce69730ca8 (patch) | |
tree | fa80a7c2b8d622f3adcd5bbb1585ab99d0bccebd /src/ui/widgets/tui_dirlist_detailed.rs | |
parent | 06b9a79c02717463ed360077a837534b362784b3 (diff) |
update to tui-rs 0.9
Diffstat (limited to 'src/ui/widgets/tui_dirlist_detailed.rs')
-rw-r--r-- | src/ui/widgets/tui_dirlist_detailed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/tui_dirlist_detailed.rs b/src/ui/widgets/tui_dirlist_detailed.rs index 1e40cbd..114b499 100644 --- a/src/ui/widgets/tui_dirlist_detailed.rs +++ b/src/ui/widgets/tui_dirlist_detailed.rs @@ -20,7 +20,7 @@ impl<'a> TuiDirListDetailed<'a> { } impl<'a> Widget for TuiDirListDetailed<'a> { - fn draw(&mut self, area: Rect, buf: &mut Buffer) { + fn render(self, area: Rect, buf: &mut Buffer) { if area.width < 4 || area.height < 1 { return; } |