aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-21 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-21 20:20:20 +0100
commit803ea382f7ccbf3df0604974858f0213a2a27ef9 (patch)
tree70defc7c7d84171b5ecbf64473e245d674760013 /i_ui.go
parentyesno (diff)
downloadhardflip-803ea382f7ccbf3df0604974858f0213a2a27ef9.tar.gz
hardflip-803ea382f7ccbf3df0604974858f0213a2a27ef9.tar.bz2
hardflip-803ea382f7ccbf3df0604974858f0213a2a27ef9.tar.xz
hardflip-803ea382f7ccbf3df0604974858f0213a2a27ef9.tar.zst
hardflip-803ea382f7ccbf3df0604974858f0213a2a27ef9.zip
clean list delete
Diffstat (limited to '')
-rw-r--r--i_ui.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/i_ui.go b/i_ui.go
index 08a2f3a..515fa4d 100644
--- a/i_ui.go
+++ b/i_ui.go
@@ -151,7 +151,6 @@ func i_draw_zhosts_box(ui HardUI) {
}
func i_draw_delete_box(ui HardUI, host *HostNode) {
- // file_path := data.data_dir + "/" + host.Folder + host.Filename
text := "Really delete this host?"
file := host.Folder + host.Filename
max_len := len(text)
@@ -205,10 +204,6 @@ func i_draw_delete_box(ui HardUI, host *HostNode) {
i_draw_text(ui.s,
left + 7, top, right, top,
ui.def_style, "o")
- // if err := os.Remove(file_path); err != nil {
- // c_die("can't remove " + file_path, err)
- // }
- // i_reload_data(data, sel, sel_max)
}
func i_host_panel(ui HardUI, lhost *HostList) {