diff options
author | Joe <rbo@gmx.us> | 2024-01-10 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-10 20:20:20 +0100 |
commit | 57d51f7de31da84b0aeece71d07fdabc25019968 (patch) | |
tree | dfc2134697009cb8cd4d7edb3bc1ed29877036ae /i_ui.go | |
parent | folding ye (diff) | |
download | hardflip-57d51f7de31da84b0aeece71d07fdabc25019968.tar.gz hardflip-57d51f7de31da84b0aeece71d07fdabc25019968.tar.bz2 hardflip-57d51f7de31da84b0aeece71d07fdabc25019968.tar.xz hardflip-57d51f7de31da84b0aeece71d07fdabc25019968.tar.zst hardflip-57d51f7de31da84b0aeece71d07fdabc25019968.zip |
cleanup
Diffstat (limited to '')
-rw-r--r-- | i_ui.go | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -64,7 +64,6 @@ type HardUI struct { def_style tcell.Style dir_style tcell.Style title_style tcell.Style - // folded_count int dim [2]int } @@ -282,9 +281,6 @@ func i_host_panel(ui HardUI, icons bool, litems *ItemsList) { line := 1 ptr := litems.draw_start for ; ptr != nil && line < ui.dim[H] - 2; ptr = ptr.next { - // if ptr.folded_parents() == true { - // continue - // } if ptr.is_dir() == false && ptr.Host != nil { i_host_panel_host(ui, icons, @@ -292,22 +288,12 @@ func i_host_panel(ui HardUI, icons bool, litems *ItemsList) { ptr.Host, litems.curr.Host, line) - // FIX: === delete this after fix - // i_draw_text(ui.s, - // 1, line, ui.dim[W] / 3, line, - // ui.def_style, strconv.Itoa(ptr.ID)) - // FIX: === line++ } else if ptr.Dirs != nil { i_host_panel_dirs(ui, icons, ptr.Dirs, litems.curr.Dirs, line) - // FIX: === delete this after fix - // i_draw_text(ui.s, - // 1, line, ui.dim[W] / 3, line, - // ui.def_style, strconv.Itoa(ptr.ID)) - // FIX: === line++ } } @@ -323,7 +309,6 @@ func i_host_panel(ui HardUI, icons bool, litems *ItemsList) { ui.def_style, " 0 hosts ") } - // FIX: bug on draw_start with folded folders } func i_info_panel_dirs(ui HardUI, dir *DirsNode) { |