wip: refactoring tui
This commit is contained in:
parent
005d6e0bde
commit
1c01ee4834
7 changed files with 6 additions and 1229 deletions
6
main.go
6
main.go
|
|
@ -2,14 +2,8 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/sst/opencode/cmd"
|
||||
"github.com/sst/opencode/internal/logging"
|
||||
"github.com/sst/opencode/internal/status"
|
||||
)
|
||||
|
||||
func main() {
|
||||
defer logging.RecoverPanic("main", func() {
|
||||
status.Error("Application terminated due to unhandled panic")
|
||||
})
|
||||
|
||||
cmd.Execute()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue