diff options
author | Joe <rbo@gmx.us> | 2024-05-15 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-15 20:20:20 +0200 |
commit | 565fe0fb9e41198dd74a0aba05b0aa64e134afe6 (patch) | |
tree | 6bec47135145e71e09cd00c30d7ac9f4d63f8d83 /src/e_keys.go | |
parent | up (diff) | |
download | hardflip-565fe0fb9e41198dd74a0aba05b0aa64e134afe6.tar.gz hardflip-565fe0fb9e41198dd74a0aba05b0aa64e134afe6.tar.bz2 hardflip-565fe0fb9e41198dd74a0aba05b0aa64e134afe6.tar.xz hardflip-565fe0fb9e41198dd74a0aba05b0aa64e134afe6.tar.zst hardflip-565fe0fb9e41198dd74a0aba05b0aa64e134afe6.zip |
fucking hard
Diffstat (limited to '')
-rw-r--r-- | src/e_keys.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/e_keys.go b/src/e_keys.go index cac2872..07c3c97 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -325,7 +325,7 @@ func e_mkdir_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.mode = NORMAL_MODE ui.buff.empty() } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) } return false } @@ -360,7 +360,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { data.insert.parent = data.ldirs.head } } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) } } else if data.insert != nil { if data.insert_err != nil { @@ -655,7 +655,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.drives_buff = ui.buff.str() ui.buff.empty() } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) } } else { if event.Key() == tcell.KeyEnter { @@ -676,7 +676,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.buff.empty() ui.s.HideCursor() } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) } } case INS_SSH_HOST, @@ -807,7 +807,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.buff.empty() ui.s.HideCursor() } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) } } } @@ -826,7 +826,7 @@ func e_rename_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { return true } } else { - e_readline(event, &ui.buff) + e_readline(event, &ui.buff, data.home_dir) return true } ui.s.HideCursor() |