Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result = App.run() #139

Closed
kamadorueda opened this issue Oct 11, 2021 · 6 comments
Closed

result = App.run() #139

kamadorueda opened this issue Oct 11, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@kamadorueda
Copy link

To be added by @willmcgugan

  1. Thanks for such a great library
  2. We are using your library! See the result here: New user interface fluidattacks/makes#725
  3. This is not an outstanding feature that must be added
  4. 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

@willmcgugan willmcgugan added the enhancement New feature or request label Oct 15, 2021
@willmcgugan
Copy link
Collaborator

Makes sense. That will make it in to the next version.

@willmcgugan
Copy link
Collaborator

Your app looks great BTW

@styk-tv
Copy link

styk-tv commented Feb 24, 2022

@willmcgugan is there any update on this? would be great to be able to switch between multiple screens

@willmcgugan
Copy link
Collaborator

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.

@willmcgugan
Copy link
Collaborator

@github-actions
Copy link

Did we solve your problem?

Consider buying the Textualize developers a coffee to say thanks.

Textualize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants