Using bacon (e.g. bacon run) then console::Term::stdout().size_checked() 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:
terminal_size::terminal_size()
termsize::get()
termize::dimensions()
Mainly mentioning it, in case anyone wants to search for potential solutions.
Using
bacon(e.g.bacon run) thenconsole::Term::stdout().size_checked()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:terminal_size::terminal_size()termsize::get()termize::dimensions()Mainly mentioning it, in case anyone wants to search for potential solutions.