lib/muflax/panes.rb in muflax-0.3.8 vs lib/muflax/panes.rb in muflax-0.3.9
- old
+ new
@@ -5,9 +5,13 @@
module Kernel
def clear_screen
print "\e[H\e[2J"
end
+
+ def clear_tmux_history
+ system "tmux", "clear-history"
+ end
end
class Panes
class Section
attr_reader :lines