From 7df369c68ec77c68faf4153f51a283655c253b99 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 17 Oct 2024 14:40:21 +0200 Subject: wip --- src/i_host.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/i_host.go') 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, -- cgit v1.2.3