diff options
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) { |