lib/shellplay/session.rb in shellplay-0.0.9 vs lib/shellplay/session.rb in shellplay-0.0.10
- old
+ new
@@ -34,9 +34,13 @@
s = Shellplay::Screen.new
s.import(screenhash)
@sequence << s
end
+ def add_screens(screenarray)
+ @sequence += screenarray
+ end
+
def drop_last_screen
@sequence.pop
previous
end