mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
crew downloader: set terminal dimensions fallback using integers, fix lto cmake variable (#6566)
* set terminal default size with integers * bump version * Update const.rb
This commit is contained in:
@@ -15,8 +15,8 @@ def setTermSize
|
||||
puts "Non-interactive terminals may not be able to be queried for size."
|
||||
# @termW = %x[tput cols].chomp.to_i
|
||||
# @termH = %x[tput lines].chomp.to_i
|
||||
@termW = '80'
|
||||
@termH = '25'
|
||||
@termW = 80
|
||||
@termH = 25
|
||||
end
|
||||
# space for progress bar after minus the reserved space for showing
|
||||
# the file size and progress percentage
|
||||
|
||||
Reference in New Issue
Block a user