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.
Using
bacon(e.g.bacon run) thentermsize::get()returnsNone.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.