We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fce913 + fd7201f commit db9bbbcCopy full SHA for db9bbbc
1 file changed
internal/app/app.go
@@ -298,6 +298,14 @@ func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
298
return a, nil
299
}
300
301
+ if ic, ok := a.currentView.(view.InputCapture); ok && ic.HasActiveInput() {
302
+ model, cmd := a.currentView.Update(msg)
303
+ if v, ok := model.(view.View); ok {
304
+ a.currentView = v
305
+ }
306
+ return a, cmd
307
308
+
309
switch {
310
case key.Matches(msg, a.keys.Quit):
311
switch a.currentView.(type) {
0 commit comments