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

This commit is contained in:
Alejandro Huertas Herrero authored and Tino Vázquez committed 2019-05-30 12:43:24 +02:00
1 parent 3597951080
commit ed44bca60c
1 file changed
+1 -2
+1 -2
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