mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix stack overflow in examples/http
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
2d602a1244
commit
ebf80ebf89
@@ -22,7 +22,7 @@ type statusMsg int
|
|||||||
|
|
||||||
type errMsg struct{ error }
|
type errMsg struct{ error }
|
||||||
|
|
||||||
func (e errMsg) Error() string { return e.Error() }
|
func (e errMsg) Error() string { return e.error.Error() }
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
p := tea.NewProgram(model{})
|
p := tea.NewProgram(model{})
|
||||||
|
|||||||
Reference in New Issue
Block a user