aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
commit14329a6d21272feb06378a6ae39e12c8be4df5e7 (patch)
treec96863a880ba36dc9e0294ec1b1833b16d61ab06 /src/i_ui.go
parentqwe (diff)
downloadhardflip-14329a6d21272feb06378a6ae39e12c8be4df5e7.tar.gz
hardflip-14329a6d21272feb06378a6ae39e12c8be4df5e7.tar.bz2
hardflip-14329a6d21272feb06378a6ae39e12c8be4df5e7.tar.xz
hardflip-14329a6d21272feb06378a6ae39e12c8be4df5e7.tar.zst
hardflip-14329a6d21272feb06378a6ae39e12c8be4df5e7.zip
cool
Diffstat (limited to 'src/i_ui.go')
-rw-r--r--src/i_ui.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/i_ui.go b/src/i_ui.go
index 7544316..f0d889c 100644
--- a/src/i_ui.go
+++ b/src/i_ui.go
@@ -419,8 +419,7 @@ func i_prompt_dir(ui HardUI, prompt string, home_dir string) {
err != nil {
style = style.Foreground(tcell.ColorRed)
} else if stat.IsDir() == true {
- style = style.Foreground(tcell.ColorGreen).
- Bold(true)
+ style = style.Foreground(tcell.ColorGreen).Bold(false)
} else {
style = style.Foreground(tcell.ColorRed)
}
@@ -757,6 +756,10 @@ func i_ui(data_dir string) {
} else {
i_prompt_dir(data.ui, "Local directory: ", home_dir)
}
+ case INS_CMD_CMD:
+ i_prompt_generic(data.ui, "Command: ", false, "")
+ case INS_CMD_SHELL:
+ i_prompt_generic(data.ui, "Shell: ", false, home_dir)
}
if len(data.insert.Drive) > 0 &&
data.ui.insert_sel >= INS_RDP_DRIVE &&