From ff175485ded07205da5b52919e8be04f89643a28 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 20 Dec 2023 20:20:20 +0100 Subject: paging in progress --- c_hardflip.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'c_hardflip.go') diff --git a/c_hardflip.go b/c_hardflip.go index 5ad9e8e..ca231f7 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -47,7 +47,11 @@ package main -import "github.com/gdamore/tcell/v2" +import ( + // "os" + + "github.com/gdamore/tcell/v2" +) type Data struct { lhost *HostList @@ -55,6 +59,7 @@ type Data struct { opts Opts s tcell.Screen data_dir string + list_start int } func main() { @@ -64,6 +69,7 @@ func main() { Opts{true, true}, nil, data_dir, + 0, } i_ui(&data) } -- cgit v1.2.3