Skip to content

Commit

Permalink
Supress error messages
Browse files Browse the repository at this point in the history
The output handling code is designed to deal with the results of errors.

Issue: stephencelis#233
  • Loading branch information
dspinellis committed May 28, 2015
1 parent d89b5ab commit 7d952ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghi
Expand Up @@ -1947,7 +1947,7 @@ module GHI
end

def dimensions
`stty size`.chomp.split(' ').map { |n| n.to_i }
`stty size 2>/dev/null`.chomp.split(' ').map { |n| n.to_i }
end

#--
Expand Down

0 comments on commit 7d952ee

Please sign in to comment.