diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2018-11-11 14:00:04 +0100 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2018-11-11 14:00:04 +0100 |
| commit | e3b6e0b00dbce15bf19a6f7d1bf39ea033651a0b (patch) | |
| tree | 94f45b0cbe9645cf161110268cc19d04c095b724 /interact.go | |
| parent | 2c8198db725c4ff892129ea36a5dfa7aaf644577 (diff) | |
Bugfixes on Resume Task
Diffstat (limited to 'interact.go')
| -rw-r--r-- | interact.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/interact.go b/interact.go index c824627..0b1ec67 100644 --- a/interact.go +++ b/interact.go @@ -943,7 +943,9 @@ func Multichoice(question string,list []string) (int) { qu1 := line(marker,false) qu2 := frame(question,true) quest := qu1 + strings.TrimLeft(qu2,"\n") - choice := shell.MultiChoice(list,quest) + choice := -1 + choice = shell.MultiChoice(list,quest) + return choice /*shell.AddCmd(&ishell.Cmd{ Name: "choice", |
