Class TerminalWidth
- java.lang.Object
-
- net.sourceforge.argparse4j.internal.TerminalWidth
-
public class TerminalWidth extends java.lang.Object
Returns the column width of the command line terminal from which this program was started. Typically the column width is around 80 characters or so. Currently works on Linux and OSX. Returns -1 if the column width cannot be determined for some reason.
-
-
Constructor Summary
Constructors Constructor Description TerminalWidth()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTerminalWidth()
static void
main(java.lang.String[] args)
-