summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-08-27 16:29:14 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-12-09 15:28:40 +0100
commit79fe885dcdc13f25e8d9cd0e6e4d5eba4de9fb53 (patch)
tree7125f2a74734488b16128da85a13328098a144ef /pkg/gui/types
parenta46f26e14823ab5282289ef460466bee422208bb (diff)
Add WithWaitingStatusSync
Diffstat (limited to 'pkg/gui/types')
-rw-r--r--pkg/gui/types/common.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go
index 84ad874f3..366b0fcf0 100644
--- a/pkg/gui/types/common.go
+++ b/pkg/gui/types/common.go
@@ -141,6 +141,7 @@ type IPopupHandler interface {
// Shows a popup prompting the user for input.
Prompt(opts PromptOpts) error
WithWaitingStatus(message string, f func(gocui.Task) error) error
+ WithWaitingStatusSync(message string, f func() error) error
Menu(opts CreateMenuOptions) error
Toast(message string)
GetPromptInput() string