class Object
Constants
- CODEWIDTH
compl. color codes space
- COMPLETION
- DEF_CONFIG
- HELP_BANNER
todo - wrap in module
- TERMWIDTH
- ZSH_SCRIPT
Public Instance Methods
terminal_width()
click to toggle source
get int number of columns in half of screen
# File lib/bookmarks.rb, line 4 def terminal_width guess = `tput cols`.to_i guess == 0 ? 100 : guess end