From 14329a6d21272feb06378a6ae39e12c8be4df5e7 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 16 Apr 2024 20:20:20 +0200 Subject: cool --- src/i_ui.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/i_ui.go') 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 && -- cgit v1.2.3