Skip to content

Writing with Style #66

@hwchen

Description

@hwchen

I was wondering what the suggested way of adding style (like color) to a write controlled by linefeed? I see that mortal has some methods to set style in the terminal before/after writing. But it wasn't clear to me how to access the terminal instance of an Instance.

I also see that you've used ansi_term in an example, could that be a suggested way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions