diff options
author | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
commit | c6e75bad095ca01f39307faf0739cc52cca8e691 (patch) | |
tree | 6a3f9f2e599fefe53cd5641b869b9bf33d356339 | |
parent | this is going forward (diff) | |
download | hardflip-c6e75bad095ca01f39307faf0739cc52cca8e691.tar.gz hardflip-c6e75bad095ca01f39307faf0739cc52cca8e691.tar.bz2 hardflip-c6e75bad095ca01f39307faf0739cc52cca8e691.tar.xz hardflip-c6e75bad095ca01f39307faf0739cc52cca8e691.tar.zst hardflip-c6e75bad095ca01f39307faf0739cc52cca8e691.zip |
works for now
-rw-r--r-- | c_hardflip.go | 5 | ||||
-rw-r--r-- | i_ui.go | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index 9451056..2e6dd5c 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -72,10 +72,9 @@ type HardData struct { func c_reset_ptr(data *HardData) { if data.ptr = data.ldirs.head.lhost.head; data.ptr != nil { data.ui.line = 1 - return + } else if data.ptr = data.ldirs.head.next; data.ptr != nil { + data.ui.line = 1 } - data.ptr = data.ldirs.head.next - data.ui.line = 1 } func main() { @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/i_ui.go - * Thu Jan 04 15:36:48 2024 + * Thu Jan 04 16:20:24 2024 * Joe * * interfacing with the user |