bin/termup in termup-1.2.2 vs bin/termup in termup-1.3.0
- old
+ new
@@ -1,3 +1,7 @@
#!/usr/bin/env ruby
-require File.expand_path('../../lib/termup',__FILE__)
-Termup::Cli.start
\ No newline at end of file
+
+# Abort beautifully with ctrl+c.
+Signal.trap(:INT) { abort "\nAborting." }
+
+require 'termup'
+Termup::Cli.start