Calendar: Difference between revisions

→‎{{header|Ruby}}: tput co gets the number of colors, not cols
(→‎{{header|Ruby}}: removed reference to ruby 1.8.7 - it's unsupported)
(→‎{{header|Ruby}}: tput co gets the number of colors, not cols)
Line 2,964:
begin require 'io/console'; IO.console.winsize[1]
rescue LoadError
begin Integer(`tput cocols`)
rescue
80; end; end; end
1,149

edits