Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-03 18:44:14 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-03 18:44:14 +0300
commit2f67f647c7def36d735d48a4ff63994365847ef1 (patch)
tree82ec73a82fdaf6da78504c996203c37da50ea0fd
parent91eb5fc60dffa57bf4b35b4bcf4148538009c36e (diff)
updated the cmd.Confirm condition to include a prompt2.7.1-dev
-rwxr-xr-xuiWidgets/SystemCommandButton.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/uiWidgets/SystemCommandButton.go b/uiWidgets/SystemCommandButton.go
index 134a5d3..a1865a2 100755
--- a/uiWidgets/SystemCommandButton.go
+++ b/uiWidgets/SystemCommandButton.go
@@ -51,7 +51,7 @@ func CreateSystemCommandButton(
confirmationMessage := ""
if len(cmd.Confirm) != 0 {
- confirmationMessage = cmd.Confirm
+ confirmationMessage = fmt.Sprintf("%s\n\nDo you wish to proceed?", cmd.Confirm)
} else if len(name) != 0 {
confirmationMessage = fmt.Sprintf("Do you wish to %s?", name)
} else {