diff options
author | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
commit | 126815f9aad4c841ada3c5b4c8db11200b52a8fe (patch) | |
tree | a79f53de45aaef34f4cbb644c3c415556c4cff74 /c_hardflip.go | |
parent | up (diff) | |
download | hardflip-126815f9aad4c841ada3c5b4c8db11200b52a8fe.tar.gz hardflip-126815f9aad4c841ada3c5b4c8db11200b52a8fe.tar.bz2 hardflip-126815f9aad4c841ada3c5b4c8db11200b52a8fe.tar.xz hardflip-126815f9aad4c841ada3c5b4c8db11200b52a8fe.tar.zst hardflip-126815f9aad4c841ada3c5b4c8db11200b52a8fe.zip |
loop
Diffstat (limited to '')
-rw-r--r-- | c_hardflip.go | 19 |
1 files changed, 16 insertions, 3 deletions
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) } |