From 08430a42aa1cf9eff49b8015329ef8a112a5d0e5 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 21 Dec 2023 20:20:20 +0100 Subject: tmp --- c_hardflip.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c_hardflip.go') diff --git a/c_hardflip.go b/c_hardflip.go index c3e871a..81c8a2e 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -50,7 +50,7 @@ package main // the main data structure, holds up everything important type HardData struct { lhost *HostList - // dirs *DirList + ldirs *DirList ui HardUI opts HardOpts data_dir string @@ -58,11 +58,14 @@ type HardData struct { func main() { data_dir := c_get_data_dir() + lhosts, ldirs := c_load_data_dir(data_dir) data := HardData{ - c_load_data_dir(data_dir), + lhosts, + ldirs, HardUI{}, HardOpts{true, true}, data_dir, } + i_ui(&data) } -- cgit v1.2.3