Permalink
Browse files

Attempt at fixing Win problem

  • Loading branch information...
1 parent 9abae39 commit aeeb731153be9dd7265b6ec330627e4ccb8e18ad @jeffWelling committed Jun 15, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/ticgit-ng/cli.rb
View
@@ -255,4 +255,8 @@ def puts(*strings)
end
TicGitNG::CLI.reset_window_width
-Signal.trap("SIGWINCH") { TicGitNG::CLI.reset_window_width }
+begin
+ Signal.trap("SIGWINCH") { TicGitNG::CLI.reset_window_width }
+rescue
+ TicGitNG::CLI.use_fallback
+end

0 comments on commit aeeb731

Please sign in to comment.