dart / 2 / dart-io / stdout / terminalcolumns.html

terminalColumns property

int terminalColumns

The number of columns of the terminal.

If no terminal is attached to stdout, a StdoutException is thrown. See hasTerminal for more info.

Implementation

int get terminalColumns => _terminalColumns(_fd);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/Stdout/terminalColumns.html