Increase dialogue modality, display keyboard dialogue
This commit is contained in:
@@ -38,6 +38,20 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
func (f *Flow) returnToLastDriver(from driverName) func() {
|
||||
return func() {
|
||||
to, ok := f.returns[from]
|
||||
if !ok {
|
||||
f.exit = fmt.Errorf("Couldn't work out where to return to from %v", from)
|
||||
return
|
||||
}
|
||||
|
||||
delete(f.returns, from)
|
||||
|
||||
f.setDriverNow(to)
|
||||
}
|
||||
}
|
||||
|
||||
// from is the child menu, to is the parent
|
||||
func (f *Flow) returnToLastDriverNow(from driverName) error {
|
||||
to, ok := f.returns[from]
|
||||
|
Reference in New Issue
Block a user