1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #688: change highline by IO library (#3386)

This commit is contained in:
Alejandro Huertas Herrero 2019-05-30 12:43:24 +02:00 committed by Tino Vázquez
parent 3597951080
commit ed44bca60c

View File

@ -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