diff options
Diffstat (limited to 'src/i_host.go')
-rw-r--r-- | src/i_host.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_host.go b/src/i_host.go index 0f40394..b048d4d 100644 --- a/src/i_host.go +++ b/src/i_host.go @@ -148,11 +148,12 @@ func i_draw_host_panel(ui HardUI, icons bool, } func i_draw_host_panel_fuzzy(ui HardUI, icons bool, - lfuzz *ItemsList, data *HardData) { + lfuzz *FuzzList, data *HardData) { line := 1 if lfuzz == nil || lfuzz.head == nil { return } + // TODO: find a way for ptr := lfuzz.draw; ptr != nil && line < ui.dim[H] - 2; ptr = ptr.next { if ptr.is_dir() == false && ptr.Host != nil { i_host_panel_host(ui, |