From c545dd21171200889053694804eae6ca839379a2 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 16 May 2024 20:20:20 +0200 Subject: prompt ssh ok --- src/c_exec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c_exec.go') 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() -- cgit v1.2.3