mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
parent
3597951080
commit
ed44bca60c
@ -15,7 +15,6 @@
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
require 'csv'
|
||||
require 'highline'
|
||||
|
||||
# CLI Helper
|
||||
module CLIHelper
|
||||
@ -620,7 +619,7 @@ module CLIHelper
|
||||
return if expand_columns.empty?
|
||||
|
||||
if $stdout.tty?
|
||||
terminal_size = HighLine::SystemExtensions.terminal_size[0]
|
||||
terminal_size = IO.console.winsize[1]
|
||||
else
|
||||
terminal_size = nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user