result = App.run()
To be added by @willmcgugan
- Thanks for such a great library
- We are using your library! See the result here: https://github.com/fluidattacks/makes/pull/725
- This is not an outstanding feature that must be added
- But It would be very useful in some cases
The App class is normally used as a whole application: App.run()
It would be useful if we could return data from it on exit so we can do result = App.run().
This allows for having many 'scenes' (Apps) in our application, for instance for asking user for a value and then do some work, then show other 'scene' (other App), etc
Makes sense. That will make it in to the next version.
Your app looks great BTW
@willmcgugan is there any update on this? would be great to be able to switch between multiple screens
We're working on a large feature branch ATM. The code in main is somewhat frozen in terms of features. If you need this I'd suggest forking it for now. Happy to consider a PR.
https://github.com/Textualize/textual/wiki/Sorry-we-closed-your-issue