mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 01:14:52 +01:00
chore: cleanup
This commit is contained in:
@@ -196,7 +196,7 @@ func (p *logsPage) Init() tea.Cmd {
|
||||
var cmds []tea.Cmd
|
||||
cmds = append(cmds, p.table.Init())
|
||||
cmds = append(cmds, p.details.Init())
|
||||
|
||||
|
||||
// Send a key down and then key up to select the first row
|
||||
// This ensures the details pane is populated when returning to the logs page
|
||||
cmds = append(cmds, func() tea.Msg {
|
||||
@@ -205,7 +205,7 @@ func (p *logsPage) Init() tea.Cmd {
|
||||
cmds = append(cmds, func() tea.Msg {
|
||||
return tea.KeyMsg{Type: tea.KeyUp}
|
||||
})
|
||||
|
||||
|
||||
return tea.Batch(cmds...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user