aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_exec.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-03-01 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-03-01 20:20:20 +0100
commit721d2697f777c5d8050f37f735a9b74eb69555b8 (patch)
tree041dafee9751de4ef98c33bc723347afcc697aaf /src/c_exec.go
parentfuckye (diff)
downloadhardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.gz
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.bz2
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.xz
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.zst
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.zip
commit
Diffstat (limited to 'src/c_exec.go')
-rw-r--r--src/c_exec.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c_exec.go b/src/c_exec.go
index 69bff7c..9e96188 100644
--- a/src/c_exec.go
+++ b/src/c_exec.go
@@ -195,11 +195,11 @@ func c_format_cmd(host *HostNode, opts HardOpts,
return nil, nil
}
if len(gpg) > 0 && gpg != "plain" && len(host.Pass) > 0 {
- i_draw_msg(ui.s, 1, ui.style[STYLE_BOX], ui.dim, " GnuPG ")
+ 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)
i_draw_text(ui.s, left, ui.dim[H] - 3, right, ui.dim[H] - 3,
- ui.style[STYLE_DEF], text)
+ ui.style[DEF_STYLE], text)
ui.s.Show()
var err error
pass, err = c_decrypt_str(host.Pass)
@@ -245,11 +245,11 @@ func c_exec(host *HostNode, opts HardOpts, ui *HardUI) {
return
}
} else {
- i_draw_msg(ui.s, 1, ui.style[STYLE_BOX], ui.dim, " Exec ")
+ i_draw_msg(ui.s, 1, ui.style[BOX_STYLE], ui.dim, " Exec ")
text := "running command..."
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[STYLE_DEF], text)
+ ui.style[DEF_STYLE], text)
ui.s.Show()
}
if err, err_str := c_exec_cmd(cmd_fmt, cmd_env, silent);