mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
1 parent
3597951080
commit
ed44bca60c
1 file changed
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user