- Timestamp:
- Mar 11, 2011, 3:52:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/utilities/terminal_width.py
r6909 r8146 8 8 ###### 9 9 10 ##11 # @brief Get the current terminal width.12 # @return The terminal width in characters.13 # @note If the width cannot be found, return 80 as a default.14 10 def terminal_width(): 11 """Get the current terminal width. 12 13 Returns the terminal width in characters. 14 15 If the width cannot be found, return 80 as a default. 16 """ 17 15 18 # First, try Windows. 16 19 try:
Note: See TracChangeset
for help on using the changeset viewer.