Skip to content
Discussion options

You must be logged in to vote

It works. Many thanks @TomJGooding

    @on(events.Print)
    def on_print(self, event: events.Print) -> None:
        if event.text.strip():
            self.write(Text.from_ansi(event.text))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Tim-Cao
Comment options

@TomJGooding
Comment options

@Tim-Cao
Comment options

Answer selected by Tim-Cao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants