I have the following example script:
import time
import click
from trogon import tui
@tui()
@click.command()
def cli():
time.sleep(2) # simulating some longer task
click.echo("Hello from trogon-try!")
click.echo("This is the second output line.")
if __name__ == "__main__":
cli()
When I execute it with Trogon then Trogon starts the execution of my script, but meanwhile I get back the prompt. So my script is running in the background and writing to the console. This is really confusing and can be the source of errors.
See in the below screenshot how it looks.

Note: I'm using Windows.