From 126815f9aad4c841ada3c5b4c8db11200b52a8fe Mon Sep 17 00:00:00 2001 From: Joe <rbo@gmx.us> Date: Wed, 20 Dec 2023 20:20:20 +0100 Subject: loop --- c_hardflip.go | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'c_hardflip.go') diff --git a/c_hardflip.go b/c_hardflip.go index 0b34828..27e8ef3 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/c_hardflip.go - * Mon, 18 Dec 2023 16:56:07 +0100 + * Wed Dec 20 10:50:24 2023 * Joe * * the main @@ -47,7 +47,20 @@ package main +import "github.com/gdamore/tcell/v2" + +type Data struct { + lhost *HostList + // dirs *DirList + opts Opts + s tcell.Screen +} + func main() { - lhost := c_load_data_dir(c_get_data_dir()) - i_ui(lhost) + data := Data{ + c_load_data_dir(c_get_data_dir()), + Opts{true, true}, + nil, + } + i_ui(&data) } -- cgit v1.2.3