Skip to content

Getting width and height of viewport? #105

@ThariqS

Description

@ThariqS

If I want to create a line that crosses the entire width of the terminal or fill half of the lines of the terminal with logs, I have no way (from what I can find) of finding the overall width/height of the console. Is there a way, if not, can it the width/height be passed down as props to the top level component?

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