diff --git a/application.go b/application.go index bbd15d2..6e6666b 100644 --- a/application.go +++ b/application.go @@ -250,7 +250,13 @@ func (a *Application) EnablePaste(enable bool) *Application { } // Run starts the application and thus the event loop. This function returns -// when Stop() was called. +// when [Application.Stop] was called. +// +// Note that while an application is running, it fully claims stdin, stdout, and +// stderr. If you use these standard streams, they may not work as expected. +// Consider stopping the application first or suspending it (using +// [Application.Suspend]) if you have to interact with the standard streams, for +// example when needing to print a call stack during a panic. func (a *Application) Run() error { var ( err, appErr error