diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-09 19:18:51 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-09 19:18:51 +0200 |
| commit | 635324d386d52e117efea6fcbe9dbf306ec75653 (patch) | |
| tree | 1016d0b5303968f1023c8fb65f95e0fc3200b178 /internal/tui/components | |
| parent | d39d52d95d6aaab67fb3a17efb9ed62cc290e72f (diff) | |
| download | opencode-635324d386d52e117efea6fcbe9dbf306ec75653.tar.gz opencode-635324d386d52e117efea6fcbe9dbf306ec75653.zip | |
small fixes
Diffstat (limited to 'internal/tui/components')
| -rw-r--r-- | internal/tui/components/core/status.go | 2 | ||||
| -rw-r--r-- | internal/tui/components/repl/sessions.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/internal/tui/components/core/status.go b/internal/tui/components/core/status.go index 6c4dda0a4..d2f14ad00 100644 --- a/internal/tui/components/core/status.go +++ b/internal/tui/components/core/status.go @@ -97,6 +97,6 @@ func (m statusCmp) model() string { func NewStatusCmp() tea.Model { return &statusCmp{ - messageTTL: 15 * time.Second, + messageTTL: 10 * time.Second, } } diff --git a/internal/tui/components/repl/sessions.go b/internal/tui/components/repl/sessions.go index 093337b18..d47c2a19e 100644 --- a/internal/tui/components/repl/sessions.go +++ b/internal/tui/components/repl/sessions.go @@ -123,6 +123,7 @@ func (i *sessionsCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.KeyMsg: switch { case key.Matches(msg, sessionKeyMapValue.Select): + i.app.Logger.PersistInfo("Session selected") selected := i.list.SelectedItem() if selected == nil { return i, nil |
