Skip to content

Term size is None using bacon #25

@vallentin

Description

@vallentin

Using bacon (e.g. bacon run) then termsize::get() returns None.

I checked other crates, and the only one returning a size, is crossterm, i.e. crossterm::terminal::size().

Whereas all the following returns None:

  • console::Term::stdout().size_checked()
  • terminal_size::terminal_size()
  • termize::dimensions()

Mainly mentioning it, in case anyone wants to search for potential solutions.

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