aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_exec.go')
-rw-r--r--src/c_exec.go4
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()