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 | c545dd21171200889053694804eae6ca839379a2 (patch) | |
tree | 9295f4df134839a2a7a468a994a8b096b6dc89d0 /src/c_exec.go | |
parent | v0.7 (diff) | |
download | hardflip-c545dd21171200889053694804eae6ca839379a2.tar.gz hardflip-c545dd21171200889053694804eae6ca839379a2.tar.bz2 hardflip-c545dd21171200889053694804eae6ca839379a2.tar.xz hardflip-c545dd21171200889053694804eae6ca839379a2.tar.zst hardflip-c545dd21171200889053694804eae6ca839379a2.zip |
prompt ssh ok
Diffstat (limited to '')
-rw-r--r-- | src/c_exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_exec.go b/src/c_exec.go index eb711cd..4913ff4 100644 --- a/src/c_exec.go +++ b/src/c_exec.go @@ -210,7 +210,7 @@ func c_format_cmd(host *HostNode, opts HardOpts, if len(gpg) > 0 && gpg != "plain" && len(host.Pass) > 0 { i_draw_msg(ui.s, 1, ui.style[BOX_STYLE], ui.dim, " GnuPG ") text := "decryption using gpg..." - left, right := i_left_right(len(text), ui) + left, right := i_left_right(len(text), *ui) i_draw_text(ui.s, left, ui.dim[H] - 3, right, ui.dim[H] - 3, ui.style[DEF_STYLE], text) ui.s.Show() @@ -297,7 +297,7 @@ func c_exec(host *HostNode, opts HardOpts, ui *HardUI) { } else { i_draw_msg(ui.s, 1, ui.style[BOX_STYLE], ui.dim, " Exec ") text := "running command..." - left, right := i_left_right(len(text), ui) + left, right := i_left_right(len(text), *ui) i_draw_text(ui.s, left, ui.dim[H] - 3, right, ui.dim[H] - 3, ui.style[DEF_STYLE], text) ui.s.Show() |