fix: fixed the return value for GoRet.
This commit is contained in:
parent
66c70d5b31
commit
8b76e52e6f
1 changed files with 3 additions and 3 deletions
|
@ -298,11 +298,11 @@ func (c Context) RunWidget(widget Widget) (*UpdateChan, error) {
|
||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c Context) GoRet(pth Widget) WidgetGo {
|
func (c Context) GoRet(pth Widget) UI {
|
||||||
return WidgetGo{
|
return UI{WidgetGo{
|
||||||
Path: pth,
|
Path: pth,
|
||||||
Arg: c.Arg(),
|
Arg: c.Arg(),
|
||||||
}
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Go to the specified widget
|
// Go to the specified widget
|
||||||
|
|
Loading…
Reference in a new issue