Skip to content

Feature Request: auto detect terminal width #942

Description

@lesinigo

Is your feature request related to a problem? Please describe.
I'm always frustrated when Markdown gets rendered to a shorted width than my terminal window allows.

Describe the solution you'd like
I would like the equivalent of glow -w $(tput cols) or glow -w $COLUMNS.
The former requires ncurses-bin or equivalent, which is common but not universally preinstalled on all operating systems, the latter requires a shell that supports $COLUMNS which is mostly all with some exceptions (notably busybox, the default shell on Alpine Linux).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions