Skip to content

Commit db9bbbc

Browse files
authored
Merge pull request #159 from clawscli/develop
v0.14.2
2 parents 1fce913 + fd7201f commit db9bbbc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

internal/app/app.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,14 @@ func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
298298
return a, nil
299299
}
300300

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+
301309
switch {
302310
case key.Matches(msg, a.keys.Quit):
303311
switch a.currentView.(type) {

0 commit comments

Comments
 (0)