aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-09-19 18:22:19 +0200
committerJoe <rbo@gmx.us>2024-09-19 18:22:19 +0200
commit975716a55b3ccc41ca526d4e5e898bcac7562922 (patch)
tree8f64c38b4585e0c4fa7a9144f710c813aef1efbe
parentgg (diff)
downloadhardflip-975716a55b3ccc41ca526d4e5e898bcac7562922.tar.gz
hardflip-975716a55b3ccc41ca526d4e5e898bcac7562922.tar.bz2
hardflip-975716a55b3ccc41ca526d4e5e898bcac7562922.tar.xz
hardflip-975716a55b3ccc41ca526d4e5e898bcac7562922.tar.zst
hardflip-975716a55b3ccc41ca526d4e5e898bcac7562922.zip
up
-rw-r--r--src/i_host.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i_host.go b/src/i_host.go
index ed4ac77..04167a6 100644
--- a/src/i_host.go
+++ b/src/i_host.go
@@ -51,6 +51,8 @@
package main
+import "fmt"
+
func i_host_panel_dirs(ui HardUI, icons bool, dir_icon uint8,
dir *DirsNode, curr *DirsNode, line int) {
style := ui.style[DIR_STYLE]
@@ -119,6 +121,10 @@ func i_draw_host_panel(ui HardUI, icons bool,
}
for ptr := litems.draw; ptr != nil && line < ui.dim[H] - 2; ptr = ptr.next {
if ptr.is_dir() == false && ptr.Host != nil {
+ fmt.Println(ptr);
+ fmt.Println(ptr.ID);
+ fmt.Println(ptr.Host);
+ fmt.Println(ptr.Host.parent);
i_host_panel_host(ui,
icons,
ptr.Host.parent.Depth,