runApp starts the UI application if not in debug mode
()
| 108 | |
| 109 | // runApp starts the UI application if not in debug mode |
| 110 | func runApp() error { |
| 111 | if !debug { |
| 112 | if err := app.SetRoot(UI, true).SetFocus(UI).Run(); err != nil { |
| 113 | return err |
| 114 | } |
| 115 | } |
| 116 | return nil |
| 117 | } |
| 118 | |
| 119 | // loadAndDisplayAsync handles the complete async loading workflow |
| 120 | func loadAndDisplayAsync(loader func(*Buffer, chan<- bool, chan<- error), source string) error { |
no outgoing calls
no test coverage detected