aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-05 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-05 20:20:20 +0100
commitb86e613a96d23e90668b5f9aabd2a38b76c30fa4 (patch)
treeeac72d2b8280203651a74b515a96c12edc891690 /i_events.go
parentgoogo (diff)
downloadhardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.gz
hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.bz2
hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.xz
hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.zst
hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.zip
now draw litems list
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/i_events.go b/i_events.go
index a95666a..3afbac0 100644
--- a/i_events.go
+++ b/i_events.go
@@ -115,9 +115,9 @@ func i_events(data *HardData) {
ui.sel_max != 0 {
ui.mode = DELETE_MODE
} else if event.Key() == tcell.KeyEnter {
- if data.ptr != nil && data.ptr.is_dir() == false {
+ if data.litems.curr != nil && data.litems.curr.is_dir() == false {
ui.s.Fini()
- c_exec(data.ptr.get_self_host())
+ c_exec(data.litems.curr.Host)
if data.opts.Loop == false {
os.Exit(0)
} else {