diff options
author | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
commit | 197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc (patch) | |
tree | 5f1716d414bc061e35527dccc564d6c1ba00e8ec /src/e_keys.go | |
parent | better, now msg buff hopefully (diff) | |
download | hardflip-197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc.tar.gz hardflip-197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc.tar.bz2 hardflip-197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc.tar.xz hardflip-197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc.tar.zst hardflip-197d2a26bbc6418b31fd3e79a92fcd3c63cad3cc.zip |
fucking great readline
Diffstat (limited to 'src/e_keys.go')
-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 07c3c97..bc30053 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, data.home_dir) + e_readline(event, &ui.buff, ui, 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, data.home_dir) + e_readline(event, &ui.buff, ui, 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, data.home_dir) + e_readline(event, &ui.buff, ui, 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, data.home_dir) + e_readline(event, &ui.buff, ui, 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, data.home_dir) + e_readline(event, &ui.buff, ui, 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, data.home_dir) + e_readline(event, &ui.buff, ui, data.home_dir) return true } ui.s.HideCursor() |