Module: TerminalUtils
- Included in:
- ConsoleManager, ProgressBarView, StatusBoxView, TableView
- Defined in:
- lib/views.rb
Constant Summary collapse
- SCREEN_WIDTH =
[`tput cols`.to_i, 130].min
- SAVE_CURSOR =
`tput sc`
- RESTORE_CURSOR =
`tput rc`
- ERASE_DISPLAY =
`tput clear`
- RED =
`tput setaf 1`
- GREEN =
`tput setaf 2`
- RESET =
`tput sgr0`