Most of the new models have been reimplemented
This commit is contained in:
parent
7a5584cf9a
commit
aa828df3ae
19 changed files with 226 additions and 156 deletions
|
|
@ -23,9 +23,9 @@ func NewCommandController(commands map[string]uimodels.Operation) *CommandContro
|
|||
func (c *CommandController) Prompt() uimodels.Operation {
|
||||
return uimodels.OperationFn(func(ctx context.Context) error {
|
||||
uiCtx := uimodels.Ctx(ctx)
|
||||
uiCtx.Send(events.PromptForInput{
|
||||
uiCtx.Send(events.PromptForInputMsg{
|
||||
Prompt: ":",
|
||||
OnDone: c.Execute(),
|
||||
// OnDone: c.Execute(),
|
||||
})
|
||||
return nil
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue