Skip to content

An example of how to use Print or PrintSimple #52

@njones

Description

@njones

I'm trying to write some text into a NewBox, and I can't figure out how to do this.

The documentation explains how Print is used to write to a box, but the function takes a tcell.Screen which is an interface the Box struct doesn't conform to. Maybe, the example of how to create and use a Box can be expanded to include some text as well?

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